06 2014 档案

摘要:var myApp = angular.module('myApp', []);//service style, probably the simplest onemyApp.service('helloWorldFromService', function() { this.sayHello... 阅读全文
posted @ 2014-06-27 15:34 xiaoroad 编辑
摘要:主流模块的代码替换方式参考:https://github.com/cmdjs/galleryjquery引入cmd模块:https://github.com/cmdjs/jqueryamd config:https://github.com/amdjs/amdjs-api/blob/master/C... 阅读全文
posted @ 2014-06-18 16:45 xiaoroad 编辑
摘要:镜像使用方法:1.通过config命令npm config set registryhttp://registry.cnpmjs.orgnpm info underscore2.命令行指定npm --registryhttp://registry.cnpmjs.orginfo underscore3... 阅读全文
posted @ 2014-06-18 11:39 xiaoroad 编辑