Grunt and gulp.js
这是为敝司暑期实习生准备的 Grunt 和 gulp.js 入门的 slide,就目前而言,我倾向于在项目中使用 gulp.js,在小插件、module 上使用 Grunt。
12
Kudos
12
Kudos
这是为敝司暑期实习生准备的 Grunt 和 gulp.js 入门的 slide,就目前而言,我倾向于在项目中使用 gulp.js,在小插件、module 上使用 Grunt。
JavaScript 有三种函数调用方式 (其他奇葩的不讨论) : func() func.call() 和 func.apply() var binded = func.bind() 第一种很好理解,就是直接调用。 第二种很常用,经常用于调整函数的 this 指向的对象。如: function say_hello () { return 'Hello, ' + this.name } say_hello.call({ name: 'John' }) //... Continue →