dart.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic. Learn more. OK, got it
Google Libraries API - Developer's Guide The Google Libraries API is a content distribution network and loading architecture for the most popular, open-source JavaScript libraries. Using the google.load() method gives your application high speed and global access to a growing list of the most popular, open-source JavaScript libraries. You can also use <script> tags to include the libraries. Table
ãGoogle JavaScript Style Guideãã«æ²¿ã£ã¦ãã§ãã¯ãã¦ããããã°ã¼ã°ã«è£½JavaScriptææ³ãã§ãã«ã¼ ã°ã¼ã°ã«ã¯JavaScriptã³ã¼ãã®ã¹ã¿ã¤ã«ã¬ã¤ããGoogle JavaScript Style Guideããå ¬éãã¦ãããå社èªèº«ããã®ã¹ã¿ã¤ã«ã«å¾ã£ã¦éçºãè¡ã£ã¦ããã¨ããã¦ãã¾ãï¼ã¹ã¿ã¤ã«ã¬ã¤ãã®æ¥æ¬èªè¨³ã®ä¾ï¼ã ãã®ã¹ã¿ã¤ã«ã¬ã¤ãã«å¾ã£ãéçºãæ¯æ´ãã¦ããããã¼ã«ãã°ã¼ã°ã«ãããªã¼ãã³ã½ã¼ã¹ã¨ãã¦å ¬éããã¾ãããå社ã®Closure Tools Blogã®ã¨ã³ããªãIntroducing Closure Linterãã§ç´¹ä»ãããææ³ãã§ãã¯ãã¼ã«ã®Closure Linterã§ãã Closure Linterã¯Pythonã§æ¸ããããã¼ã«ã§ãã³ãã³ãã©ã¤ã³ããå©ç¨ãã¾ããä¸è¨ã®ã¨ã³ããªã«ããã¨ã次ã®ãããªJavaScriptããã§ãã¯ã«æ¸
ãã®å訳ã«ã¤ãã¦Â¶ ãã®æç« ã¯ Google JavaScript Style Guide ãéå ¬å¼ã«å訳ãããã®ã§ã. å 容ã®æ£ç¢ºæ§ã¯ä¿è¨¼ãã¾ãã. ã©ã¤ã»ã³ã¹ã¯åæã¨åãã CC-By 3.0 ã¨ãã¾ã. ãã£ã¼ãããã¯ã¯ Issue ã¸ã®ç»é² , ããã㯠Kosei Moriyama (@cou929 ã¾ã㯠cou929 at gmail.com) ã¸ç´æ¥ãé¡ããã¾ã. ãã®å訳ã®ãªãã¸ããªã¯ ãã¡ã ã§ã.
ãªã©ã¨ããç ½ãæ°å³ãªã¿ã¤ãã«ãã¤ãã¤ãã¦ãã¾ããããªãè¨äºãGoogleCodeBlogã«æ²è¼ããã¦ãã¾ããã æåã®ã»ãã¯ããæ®éã«JavaScriptã使ã£ãRIAã¢ããªã±ã¼ã·ã§ã³ã¯ã©ããã¦ãèµ·åãé ããªãããããããã©ãæ¸ããããã¨ãããã¼ãã«ãã£ã¦æ¸ããã¦ãã¾ãã æ¹æ³ã¨ãã¦æãããã¦ããã®ã¯ãæåã«ãã¹ã¦ãèªã¿è¾¼ã¾ããã¢ã¸ã¥ã¼ã«åä½ã§åå²ãã¦é 延ãã¼ãã£ã³ã°ãããã¨ããã ããããã ãã ã¨åç·é度ãé ãä¸å®å®ãªã¢ãã¤ã«ç°å¢ã§ã¯åé¡ãçããããHTML5ã®ãã£ãã·ã¥æ©è½ãå©ç¨ããã¨ããã¨ã®ãã¨ã é 延ãã¼ãã£ã³ã°ã®ããã®ãã¾ãã¾ãªææ³ã®å¾å¤±ããä¾ãã°ã¦ã¼ã¶ã¼ãã¼ã¿ãèªã¿è¾¼ãã¨ãã«ã¯åçãã¼ãããªããã¨ããããã«ã¦ã¼ã¶ã¼ã®æä½ã妨害ããªãããçæãããã¨ãªã©ã«ã¤ãã¦ãè¿°ã¹ããã¦ãã¦ããã ãã§ããã¦ãã¦ã¨ãã¦ååã«ææ義ãªã®ã§ããã決ãæã¨ãã¦æå¾ã«åºã¦ããæ¹æ³ããããã§ãã ãã®æ¹æ³ã¨
2009å¹´11æ5æ¥ï¼Googleã¯èªç¤¾ãµã¼ãã¹è£½åã§ããGmailï¼Google Mapsï¼Google Docsãªã©ã®éçºã«ä½¿ç¨ãã¦ããJavaScriptã¢ããªéçºãã¼ã«ç¾¤ãGoogle Closure Toolsããä¸è¬å ¬éãã¾ããã "Closure"ã¯ä¸è¬çã«ï¼ééãéåºã¨ãã£ãæå³ã§ä½¿ããã¾ãããã¼ã«ã®å½åã¨ãã¦ã¯å°ããã¬ãã£ããªãã¥ã¢ã³ã¹ãæãã¾ããï¼Google Closure Toolsã®å ´åã¯ï¼çµçµã¨ãã£ãæå³ã§ï¼éçºããã¸ã§ã¯ãã«ãããæçµã¹ãããã®ä»ä¸ãç¨ãã¼ã«ãããªãã¡âæ âã¨ããæå³ã§ä¸èº«ãããµãåºããªãããã«ããããªéãã¦ãããã®ã¨ãã£ãæå³åãããå½åããã¦ããããã§ãã Ultimateï¼ç©¶æ¥µï¼ã«è¿ãæå³ã§Googleã®èªä¿¡ã®è¡¨ãã¨åãåã£ãæ¹ãããããããã¾ãããGoogleã§æ°è¦å ¬éã«ãªã£ãããã¸ã§ã¯ãã¨ãã¦ã¯çããï¼ãã¼ã¿çã®è¡¨è¨ãããã¾ããï¼Go
The Closure tools help developers to build rich web applications with JavaScript that is both powerful and efficient. GmailãGoogle Docsãªã©Googleãæä¾ãã¦ããWebã¢ããªã±ã¼ã·ã§ã³ã®ã¯ã©ã¤ã¢ã³ããµã¤ãã®ã»ã¨ãã©ã¯JavaScriptã§éçºããã¦ãããããã¯Googleã®ãµã¼ãã¹ãæ¯ããéå¤ä¸åºã®ã³ã¼ãã®ããã«æãããã5æ¥(ç±³å½æé)ããããGoogleã®Webã¢ããªã±ã¼ã·ã§ã³ãæ¯ãã¦ããã½ã¼ã¹ã³ã¼ããClosure Toolsã®å称ã§å ¬éããããå ¬éããããã¼ã«ã¯æ¬¡ã®ã¨ããã Closure Compiler JavaScriptãããã³ã³ãã¯ãã§é«æ§è½ãªã³ã¼ãã¸å¤æããã³ã³ãã¤ã©ã使ããã¦ããªãã³ã¼ãã®åé¤ããããã¡ã¤ãå®æ½ãããææ³ãå¤æ°åç §ã
Googleã¯ç±³å½æé11æ5æ¥ããClosure Toolsãã¨å¼ã°ããããã¸ã§ã¯ãããªãªã¼ã¹ããå社ã®ã¦ã§ããµã¤ãããã³ã¦ã§ãã¢ããªã±ã¼ã·ã§ã³ä½æã¬ãã«ã«éãããã¨ãæãéçºè ããµãã¼ããã¦ããæ¹éãæããã«ããã Googleã¯ãã¦ã§ãä¸å¿ã®ãã¸ã§ã³ã®ä¸ç°ã§ãJavaScriptãç¨ããã¦ã§ããã¼ã¹ã®ããã°ã©ã è¨è¿°ãå¼·ãæ¨é²ãã¦ããã確ãã«Googleã¯ããGmailãããGoogle Docsããªã©ã®ãµã¼ãã¹ãéãã¦ãJavaScriptãæ大éã«æ´»ç¨ãã¦ãããããé«éã«JavaScriptããã°ã©ã ãå®è¡ã§ããããã«ããç®çããã£ã¦ããChromeããã©ã¦ã¶ã®éçºã«åªãã¦ããã ããããªãããJavaScriptããã°ã©ã ã¯æã«ç°ãªããã©ã¦ã¶ä¸ã§ã¯ç°ãªã£ãåä½ããããªã©ã®çç±ãããé«æ©è½ãªJavaScriptã®è¨è¿°ããããã°ãæé©åã¯å°é£ãªãã®ã¨ããªã£ã¦ãããGoogleããªã¼ã
FirefoxãCPUã常ã«15%ãããé£ãã®ãæ°ã«ãªã£ã¦ããã®ã§èª¿ã¹ã¦ã¿ãããGoogleã®ããããã¼ã¸ãéãã¨ãã®ãããå¢ãã§JavaScriptãå®è¡ããããã¨ãããã£ããå ·ä½çã«ã¯ãvar k=t.value;k!=h&&X(0);h=k ã¨ããã³ã¼ããæ¯ç§100åå®è¡ããã¦ããããã®ããã§ãèªåã®ä½¿ã£ã¦ããPCã ã¨ãGoogleã®ããããã¼ã¸ãéãã ãã§CPU使ç¨çã2%ãããä¸ãã£ã¦ããããã ãFirefoxç¹æã®åé¡ã¨ããããã¯ãã¦ã§ããã¼ã¸å´ã®ä½ãæ¹ã«ä¾ããã®ã¿ããã ããã¶ãä»ã®ãã©ã¦ã¶ã§ãåé¡ã¯å¤ãããªãã ããã Googleã®ããããã¼ã¸ã®å ´åãã³ã¼ãã調ã¹ã¦ã¿ãéãã§ã¯ãåå ã¯ã©ããæ¤ç´¢åè£ã®èªåè£å®ç¨ã®ã³ã¼ãã¿ããã ãç¾å¨ã®å ¥åæååãéå»ã®è¨é²ã¨éã£ããè£å®ã®æ示ãããç´ããã¿ãããªãã¨ããã£ã¦ããããã«è¦ããã HTMLã§ã¯ããã¹ãããã¯ã¹å ã®ããã¹ããå¤æ´ãã
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}