摘要: 最简单配置,RequireJS结合AngularJS:index.html 1 2 3 4 5 6 7 8 9 10 11 12 13 14 main.jsrequire.config({ path... 阅读全文
posted @ 2016-01-19 12:32 林松2012 阅读(364) 评论(0) 推荐(0)
摘要: 好记性不如烂笔头。。。算是做个笔记,第一个从Anchor scroll开始吧, 喝杯咖啡的时间就能看完,长的不看 :)$anchorScroll()用于跳转至定义ID;$location对象的hash()方法会替换当前url作为hash键;$anchorScroll()读取并跳转至ID处。下面简单的... 阅读全文
posted @ 2016-01-19 12:09 林松2012 阅读(595) 评论(0) 推荐(0)