摘要: ng-model 指令用于绑定应用程序数据到 HTML 控制器(input, select, textarea)的值。 双向绑定,在修改输入域的值时, AngularJS 属性的值也将修改:注册模块和控制器 // 注册模块 通过module函数,// 第... 阅读全文
posted @ 2016-09-29 22:08 Newman·Li 阅读(136) 评论(0) 推荐(0)
摘要: 发起缘由:静态资源缓存控制grunt插件http://blog.csdn.net/xiebaochun/article/details/17579233http://www.zhihu.com/question/27548038配合nodejs环境下的grunt等构建工具------nodej... 阅读全文
posted @ 2016-09-29 09:23 Newman·Li 阅读(160) 评论(0) 推荐(0)
摘要: 定位使用类库方法:import('ORG.Net.IpLocation');// 导入IpLocation类$Ip= new IpLocation('UTFWry.dat'); // 实例化类参数表示IP地址库文件$area = $Ip->getlocation('220.250.0.188'... 阅读全文
posted @ 2016-09-29 09:19 Newman·Li 阅读(255) 评论(0) 推荐(0)