Skip to content

Commit

Permalink
Merge pull request #43 from 0rca/master
Browse files Browse the repository at this point in the history
Manage dependencies with Bower
  • Loading branch information
alekseykulikov committed May 30, 2013
2 parents 0720657 + 976b0d7 commit e87cf88
Show file tree
Hide file tree
Showing 11 changed files with 25 additions and 15,574 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ dreams.storage.sync.push() # POST /api/dreams and PUT /api/dreams/:id
### How to contribute

* Clone repository from github: `git clone git@github.com:Ask11/backbone.offline.git` and switch to new branch `git checkout -b new-feature`
* Install [Bower](http://bower.io) if you haven't already, with `npm install -g bower` (you should also have nodejs installed)
* Run `bower install` to install dependencies
* Run `cake watch` for auto compilation files of CoffeeScript
* Make sure that specs are green `open /spec/spec_runner.html` and start development
* You can suggest a feature or report a bug on [github](https://github.com/Ask11/backbone.offline/issues)
Expand Down
16 changes: 16 additions & 0 deletions bower.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"name": "backbone-offline",
"version": "0.4.3",
"main": "js/backbone_offline.js",
"dependencies": {
"jquery": "~1.9.1",
"backbone": "~0.9.10",
"jasmine": "~1.2.0",
"underscore": "~1.4.4"
},
"ignore": [
"**/.*",
"node_modules",
"components"
]
}
14 changes: 7 additions & 7 deletions spec/spec_runner.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
<head>
<title>Backbone.offline :: Jasmine Spec Runner</title>

<link rel="shortcut icon" type="image/png" href="../vendor/jasmine/jasmine_favicon.png">
<link rel="stylesheet" type="text/css" href="../vendor/jasmine/jasmine.css">
<script type="text/javascript" src="../vendor/jasmine/jasmine.js"></script>
<script type="text/javascript" src="../vendor/jasmine/jasmine-html.js"></script>
<link rel="shortcut icon" type="image/png" href="../components/jasmine/images/jasmine_favicon.png">
<link rel="stylesheet" type="text/css" href="../components/jasmine/lib/jasmine-core/jasmine.css">
<script type="text/javascript" src="../components/jasmine/lib/jasmine-core/jasmine.js"></script>
<script type="text/javascript" src="../components/jasmine/lib/jasmine-core/jasmine-html.js"></script>

<!-- include vendor files here... -->
<script type="text/javascript" src="../vendor/jquery.js"></script>
<script type="text/javascript" src="../vendor/underscore.js"></script>
<script type="text/javascript" src="../vendor/backbone.js"></script>
<script type="text/javascript" src="../components/jquery/jquery.js"></script>
<script type="text/javascript" src="../components/underscore/underscore.js"></script>
<script type="text/javascript" src="../components/backbone/backbone.js"></script>

<!-- include support files here... -->
<script type="text/javascript" src="support/jasmine_fake_ajax.js"></script>
Expand Down
Loading

0 comments on commit e87cf88

Please sign in to comment.