上一页 1 ··· 476 477 478 479 480 481 482 483 484 ··· 491 下一页
摘要: For production we want to use minified javascript to reduce the payload that is sent from the server. This can easily be accomplished with grunt-uglif... 阅读全文
posted @ 2014-11-17 18:12 Zhentiw 阅读(228) 评论(0) 推荐(0)
摘要: Combine serval javascript files together.For angular project, make sure you add angular.min.js first, then app.js (which contains main module) second,... 阅读全文
posted @ 2014-11-17 05:46 Zhentiw 阅读(271) 评论(0) 推荐(0)
摘要: With Grunt you can automate core tasks for your AngularJS project. In this lesson we will take a look at converting Stylus files to CSS, and add a wat... 阅读全文
posted @ 2014-11-17 05:28 Zhentiw 阅读(240) 评论(0) 推荐(0)
摘要: Let's combine uglifying, watching, and config stuff into one Grunt file to make it more of a standard Grunt file.Install:npm install gruntnpm install ... 阅读全文
posted @ 2014-11-16 05:14 Zhentiw 阅读(308) 评论(0) 推荐(0)
摘要: Grunt Uglify to compress your javascript for production deployment.Installnpm install grunt-contrib-uglifyExample/** * Created by Answer1215 on 11/15/... 阅读全文
posted @ 2014-11-16 04:33 Zhentiw 阅读(172) 评论(0) 推荐(0)
摘要: /** * Created by Answer1215 on 11/15/2014. */module.exports = function(grunt){ grunt.initConfig({ files: ["'js'", "html"], compile: "... 阅读全文
posted @ 2014-11-15 23:02 Zhentiw 阅读(232) 评论(0) 推荐(0)
摘要: Watch is an essential component of any Grunt build, and you will find yourself using it in almost every project.How to install?1. Install grunt first ... 阅读全文
posted @ 2014-11-15 22:40 Zhentiw 阅读(235) 评论(0) 推荐(0)
摘要: getterSetter: boolean value which determines whether or not to treat functions bound to ngModel as getters/setters to have greater control over your m... 阅读全文
posted @ 2014-11-15 18:23 Zhentiw 阅读(746) 评论(0) 推荐(0)
摘要: ---恢复内容开始---ES6 is ECMAScript version 6, which JavaScript is based on. The next version of JavaScript is going to be based on version 6 of ECMAScript.... 阅读全文
posted @ 2014-11-15 07:25 Zhentiw 阅读(344) 评论(0) 推荐(0)
摘要: Installing RSpec In this level we'll start by getting you setup on a regular Ruby project, then move onto using RSpec within Rails. Let's start by ins 阅读全文
posted @ 2014-11-14 23:23 Zhentiw 阅读(487) 评论(0) 推荐(0)
上一页 1 ··· 476 477 478 479 480 481 482 483 484 ··· 491 下一页