第3åCommand Line APIã¨ãã®æ´»ç¨ãåã¿ãããã®ãããã°æ¹æ³ å é¦æ 2008-05-21
2å¹´åã®å¤ã«æ¸ãããFirebugã®ä¾¿å©ãªçµã¿è¾¼ã¿é¢æ° - æè¡ã¡ã¢å¸³ãèªãã§ããã¾ããdebuggerã¨æ¸ãã¨ãããããããã¬ã§ã¹ãããå®è¡ã§ããã®ãç¥ã£ã¦ã·ã§ãã¯ã§ãã.... lurkerããã®ããã°ã§ç´¹ä»ããã¦ãã$0, $1 ã§ç´åã«inspectãããã®ãåç §ã§ãããã¨ãããªããå ¬å¼ã®ããã¥ã¡ã³ãã£ã½ãFirebug Documentationã«ã¯è¼ã£ã¦ããªãã¦ãFireBug Documentation - JoeHewitt.comã«ã¯è¼ã£ã¦ãã¾ãã ã§ãããã²ã¨ã¤ãã½ã¼ã¹ã³ã¼ãã«ããæ¸ããã¦ãªããããªãã¤ãçºè¦ãã¾ããã$$1ã¨$$2ã§ãã èªåã¯Firebugã使ã£ã¦ãã¦ãã¨ãã©ãconsole.logã§åºãããªãã¸ã§ã¯ãã®ããããã£ãå¼æ°ã«ãã¦é¢æ°ãå¼ãã ãããããã¨ãããã¨ããã£ããã©ã§ããªãã¦å°ã£ã¦ããã§ãã$$1ã§ãããããã¨ãã§ããããã«ãªãã¾ããã ãã¨ãã°
id:brazil ããã®ããã¯ãã¼ã¯ã§ç¥ã£ãã®ã ãã Firebugã«ã¯ã便å©ãªçµã¿è¾¼ã¿é¢æ°ãå®ç¾©ããã¦ããããã ã ä¸éãããã£ã¦ã¿ãã®ã ãã $x() 㧠任æã®XPathè¦ç´ ãåå¾ã§ããã®ã¨ãã«æåããã ããã¦ããã£ã±ãã¡ããã¨ããã¥ã¡ã³ãèªãã¹ãã ãªãã¨æã£ãã XPathããè¦ç´ ãåå¾ããã $x("/html/body/h1"); -> è¦ç´ ã®é åãè¿ã£ã¦ããã selectoråããè¦ç´ ãåå¾ããã(getElementsByTagName) $$("h1") -> è¦ç´ ã®é å æè¦æéæ¸¬å® console#time, console#timeEnd time ~ timeEnd ã§å²ãã é¨åã®æè¦æéã è¨æ¸¬ãããã¨ãåºæ¥ãã¿ããã§ã 以ä¸ã®ãããªé¢æ°ã«ã¾ã¨ããã¨è¯ãããã ã function bench( callback ) { var uniq_id = Date
ããã«ã¡ã¯ãäºæ¬ã§ããæè¿ã¯ä½èª¿ãããã¶ã絶ä¸èª¿ã§ããå£ç¯ã®å¤ããç®ãªã®ã§ãçãããæ°ãã¤ãã¦ãã ããã ãã¦ãã¡ããã¡ããã¨è©±é¡ã«ä¸ããã¨ã®å¤ãFirefoxã使ã£ãPHPã®ãããã°ææ³ã§ãããããã¤ãåºã¦ããã®ã§ãã®è¾ºã§ãµã¯ãã¨ã¾ã¨ãã¦ããããã¨æãã¾ããã çµæçã«ãã ãã¶è¨ãã¿ã¾ããããããã¾ã¨ãåãªããªorz 1.Buggy ã¯ã©ã¹ AJAX magazine ã¨ãããµã¤ãã§å ¬éããã¦ãããµã³ãã«ã¹ã¯ãªããã§ãã¯ã©ã¹ï¼ã¤ã ãã®å°ããªã©ã¤ãã©ãªã§ãã 以åãPHPããï¼ãã¥ã¼ã¹ã§ããç´¹ä»ããæ¹æ³ã§ãã ãã®æ¹æ³ã¯ãPHPã®ã¨ã©ã¼ããã³ããªã³ã°ãããã®å 容ãscriptã¿ã°ã«åºåããconsole.info()ãç¨ãã¦Firebugã®ã³ã³ã½ã¼ã«ã«æ¸¡ããã¨ããä»çµã¿ã§ãããã®ãããFirebugã¯å¿ é ã§ãã è¨äºæ²è¼å½æã¯ãbuggy.class.phpããã¦ã³ãã¼ãã§ããã®ã§ãããã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}