js判断浏览器版本(IE,FF,Chrome,Opear,Safari)(转)
摘要:1. 五大浏览器判断<script type="text/javascript"> var Sys = {}; var ua = navigator.userAgent.toLowerCase(); var s; (s = ua.match(/msie ([\d.]+)/))? Sys.ie = s[1]: (s = ua.match(/firefox\/([\d.]+)/))? Sys.firefox= s[1]: (s = ua.match(/chrome\/([\d.]+)/))? Sys....
阅读全文
posted @
2013-05-17 14:55
稻草人.Net
阅读(370)
推荐(1) 编辑
RequireJS模块化与GruntJS构建
摘要:GruntJS构建http://www.cnblogs.com/snandy/archive/2013/03/11/2949177.htmlhttp://xiaocong.github.io/blog/2012/05/30/use-bbb-slash-grunt-dot-js-to-build-slash-deploy-amd-project/https://github.com/gruntjs/grunt-contrib-requirejshttp://nuysoft.com/2013/04/19/angry-birds-of-javascript-mighty-eagle-automati
阅读全文
posted @
2013-05-09 13:57
稻草人.Net
阅读(2279)
推荐(0) 编辑