资讯专栏INFORMATION COLUMN

[gist]Build Yourself a Backbone.js Step by Step

mochixuan / 2851人阅读

from http://oyanglul.us

Install Node

brew install node

node here is use for setup tools like grunt and mocha

npm install -g grunt

grunt is js build tool.

npm install -g bower

bower is package management for frontend js.

Install Dependencies

npm install

this will install all dependecies under package.json

  "devDependencies": {
    "grunt": "~0.4.2",
    "nunjucks": "~1.0.1",
    "grunt-nunjucks": "~0.1.0",
    "grunt-contrib-copy": "~0.5.0",
    "grunt-contrib-concat": "~0.3.0",
    "mocha": "~1.17.1",
    "grunt-contrib-uglify": "~0.3.2",
    "grunt-contrib-watch": "~0.5.3",
    "requirejs": "~2.1.11",
    "grunt-mocha": "~0.4.10"
}

文章版权归作者所有,未经允许请勿转载,若此文章存在违规行为,您可以联系管理员删除。

转载请注明本文地址:https://www.ucloud.cn/yun/85264.html

相关文章

  • Hack一部Android手机只需要5分钟?

    摘要:,,群 Assassin-Trojan---Hack Others’ Android Devices Within 5mins showImg(https://segmentfault.com/img/remote/1460000018924873); hack the android device with only one instruction on your terminal ...

    gggggggbong 评论0 收藏0
  • Awesome JavaScript

    摘要: Awesome JavaScript A collection of awesome browser-side JavaScript libraries, resources and shiny things. Awesome JavaScript Package Managers Loaders Testing Frameworks QA Tools MVC Framew...

    endless_road 评论0 收藏0
  • build your promise step by step

    摘要:对象有个属性,一个为,方法里面注入的回调函数,用来对传入的上一个传递过来的值进行处理另一个为,构造函数内部定义的方法,用来改变状态以及值。通过再次对构造函数的加强,完成了链式调用的功能。 最近看了一篇关于Promise内部实现原理的文章Javascript in wicked detail。作者从简明的例子入手,一步一步的构建健壮的Promise实现。我就拿作者文中的代码实例梳理下文章...

    Jason 评论0 收藏0

发表评论

0条评论

mochixuan

|高级讲师

TA的文章

阅读更多
最新活动
阅读需要支付1元查看
<