摘要:
Angular Binding {{msg.message}} ... 阅读全文
posted @ 2014-08-11 18:38
Zhentiw
阅读(468)
评论(0)
推荐(0)
摘要:
HTML: Call the funciton on the scope and give the data as param. Angular Binding --> ... 阅读全文
posted @ 2014-08-11 16:07
Zhentiw
阅读(296)
评论(0)
推荐(0)
摘要:
Refactor the spacing between <header>, <article>, and <aside> so that elements will have a 20px margin above and below, regardless of their order on t 阅读全文
posted @ 2014-08-11 04:43
Zhentiw
阅读(168)
评论(0)
推荐(0)
摘要:
Refactor theparagraphproperties to use shorthand syntax.p { margin-top: 0; margin-right: 0; margin-bottom: 10px; margin-left: 0; font-family: tah... 阅读全文
posted @ 2014-08-11 04:19
Zhentiw
阅读(174)
评论(0)
推荐(0)
摘要:
/** Ternary Conditionals */ // //**Bad** // var isArthur = false; var weapon; if(isArthur){ weapon = "Excalibur"; }else{ weapon = "Longsword"; } // // 阅读全文
posted @ 2014-08-11 03:45
Zhentiw
阅读(161)
评论(0)
推荐(0)
摘要:
Sometime, use can rewrite the toString , valueOf method to make those function more useful: For exmaple, we can make valueOf() function to calcualte t 阅读全文
posted @ 2014-08-11 02:53
Zhentiw
阅读(233)
评论(0)
推荐(0)