2014年6月23日
摘要: yuminstallruby yuminstallrubygems yum install ruby-develgem install rdiscountyum install python-pygmentsgem install jekyll 阅读全文
posted @ 2014-06-23 22:31 heidsoft 阅读(147) 评论(0) 推荐(0) 编辑
摘要: puts Class.ancestorsputs '11111111111111111111'puts Module.ancestorsputs '2222222222222222222'puts Object.ancestorsputs '3333333333333333333'puts Kern... 阅读全文
posted @ 2014-06-23 15:41 heidsoft 阅读(213) 评论(0) 推荐(0) 编辑
摘要: 模板(Templates)模板是您用HTML和CSS编写的文件,展现应用的视图。 您可给HTML添加新的元素、属性标记,作为AngularJS编译器的指令。 AngularJS编译器是完全可扩展的,这意味着通过AngularJS您可以在HTML中构建您自己的HTML标记!应用程序逻辑(Logic)和... 阅读全文
posted @ 2014-06-23 14:39 heidsoft 阅读(193) 评论(0) 推荐(0) 编辑
摘要: //angulajs整体代码框架结构/** * @license AngularJS v1.2.6 * (c) 2010-2014 Google, Inc. http://angularjs.org * License: MIT */(function(window, document, undef... 阅读全文
posted @ 2014-06-23 11:16 heidsoft 阅读(463) 评论(0) 推荐(0) 编辑
摘要: bindJQuery(); publishExternalAPI(angular); jqLite(document).ready(function() { angularInit(document, bootstrap);//初始化angular模块 });//初始化函数funct... 阅读全文
posted @ 2014-06-23 11:10 heidsoft 阅读(197) 评论(0) 推荐(0) 编辑
摘要: //绑定Jqueryfunction bindJQuery() { // bind to jQuery if present; jQuery = window.jQuery;//获取windows 的jquery对象 // reset to jQuery or default to us. ... 阅读全文
posted @ 2014-06-23 11:00 heidsoft 阅读(442) 评论(0) 推荐(0) 编辑