Skip to content

Commit 89e367f

Browse files
committed
Merge pull request #26 from dobtco/bb-1.1.0
Upgrade to Backbone 1.1.0 and include basic tests.
2 parents e238ed6 + a979185 commit 89e367f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+10891
-1651
lines changed

Gruntfile.coffee

+8
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,13 @@ module.exports = (grunt) ->
1313
grunt.loadNpmTasks('grunt-contrib-uglify')
1414
grunt.loadNpmTasks('grunt-contrib-watch')
1515
grunt.loadNpmTasks('grunt-release')
16+
grunt.loadNpmTasks('grunt-karma')
1617

1718
grunt.initConfig
1819

1920
pkg: '<json:package.json>'
2021
distFolder: 'dist'
22+
testFolder: 'test'
2123

2224
jst:
2325
all:
@@ -63,5 +65,11 @@ module.exports = (grunt) ->
6365
release:
6466
npm: false
6567

68+
karma:
69+
unit:
70+
configFile: '<%= testFolder %>/karma.conf.coffee'
71+
72+
6673
grunt.registerTask 'default', ALL_TASKS
6774
grunt.registerTask 'dist', ['cssmin:dist', 'uglify:dist']
75+
grunt.registerTask 'test', ['dist', 'karma']

bower.json

+9-9
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"adamjacobbecker <[email protected]>"
77
],
88
"description": "Graphical form builder for the web.",
9-
"main": "dist",
9+
"main": "index.js",
1010
"license": "MIT",
1111
"ignore": [
1212
"**/.*",
@@ -16,14 +16,14 @@
1616
"tests"
1717
],
1818
"dependencies": {
19-
"jquery": "*",
20-
"jquery-ui": "*",
19+
"jquery": "~2.0.3",
20+
"jquery-ui": "~1.10.3",
2121
"jquery.scrollWindowTo": "https://gist.github.com/adamjacobbecker/6519570/raw/cd741057495d0fb19e545a0f9a098efba3bef9c8/jquery.scrollWindowTo.js",
22-
"underscore": "*",
22+
"underscore": "~1.5.2",
2323
"underscore.mixin.deepExtend": "https://gist.github.com/adamjacobbecker/6519561/raw/63682037af9b10200b05c1a3d5890903397b2103/underscore.mixin.deepExtend.js",
24-
"backbone": "*",
25-
"backbone-deep-model": "*",
26-
"rivets": "*",
27-
"font-awesome": "~4.0.1"
24+
"backbone": "~1.1.0",
25+
"backbone-deep-model": "~0.10.4",
26+
"rivets": "~0.5.13",
27+
"font-awesome": "~3.2.1"
2828
}
29-
}
29+
}

bower_components/backbone-deep-model/.bower.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@
99
"commit": "709ca367afa864253517f05690984179a0504664"
1010
},
1111
"_source": "git://github.com/powmedia/backbone-deep-model.git",
12-
"_target": "*",
12+
"_target": "~0.10.4",
1313
"_originalSource": "backbone-deep-model"
1414
}

bower_components/backbone/.bower.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{
22
"name": "backbone",
33
"homepage": "https://github.com/jashkenas/backbone",
4-
"version": "1.0.0",
5-
"_release": "1.0.0",
4+
"version": "1.1.0",
5+
"_release": "1.1.0",
66
"_resolution": {
77
"type": "version",
8-
"tag": "1.0.0",
9-
"commit": "699fe3271262043bb137bae97bd0003d6d193f27"
8+
"tag": "1.1.0",
9+
"commit": "0a4399e3de5cb2ab75a0338669582f18c1fae3ae"
1010
},
1111
"_source": "git://github.com/jashkenas/backbone.git",
12-
"_target": "*",
12+
"_target": "~1.1.0",
1313
"_originalSource": "backbone"
1414
}

bower_components/backbone/CONTRIBUTING.md

+9-4
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,20 @@
1-
## How to contribute to Backbone.js
1+
## How to Open a Backbone.js Ticket
2+
3+
* Do not use tickets to ask for help with (debugging) your application. Ask on
4+
the [mailing list](https://groups.google.com/forum/#!forum/backbonejs),
5+
in the IRC channel (`#documentcloud` on Freenode), or if you understand your
6+
specific problem, on [StackOverflow](http://stackoverflow.com/questions/tagged/backbone.js).
27

38
* Before you open a ticket or send a pull request,
4-
[search](https://github.com/documentcloud/backbone/issues) for previous
9+
[search](https://github.com/jashkenas/backbone/issues) for previous
510
discussions about the same feature or issue. Add to the earlier ticket if you
611
find one.
712

813
* Before sending a pull request for a feature or bug fix, be sure to have
9-
[tests](http://backbonejs.org/test/test.html).
14+
[tests](http://backbonejs.org/test/).
1015

1116
* Use the same coding style as the rest of the
12-
[codebase](https://github.com/documentcloud/backbone/blob/master/backbone.js).
17+
[codebase](https://github.com/jashkenas/backbone/blob/master/backbone.js).
1318

1419
* In your pull request, do not add documentation or rebuild the minified
1520
`backbone-min.js` file. We'll do that before cutting a new release.

bower_components/backbone/README.md

+16-13
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,29 @@
1-
____ __ __
2-
/\ _`\ /\ \ /\ \ __
3-
\ \ \ \ \ __ ___\ \ \/'\\ \ \____ ___ ___ __ /\_\ ____
4-
\ \ _ <' /'__`\ /'___\ \ , < \ \ '__`\ / __`\ /' _ `\ /'__`\ \/\ \ /',__\
1+
____ __ __
2+
/\ _`\ /\ \ /\ \ __
3+
\ \ \ \ \ __ ___\ \ \/'\\ \ \____ ___ ___ __ /\_\ ____
4+
\ \ _ <' /'__`\ /'___\ \ , < \ \ '__`\ / __`\ /' _ `\ /'__`\ \/\ \ /',__\
55
\ \ \ \ \/\ \ \.\_/\ \__/\ \ \\`\\ \ \ \ \/\ \ \ \/\ \/\ \/\ __/ __ \ \ \/\__, `\
66
\ \____/\ \__/.\_\ \____\\ \_\ \_\ \_,__/\ \____/\ \_\ \_\ \____\/\_\_\ \ \/\____/
7-
\/___/ \/__/\/_/\/____/ \/_/\/_/\/___/ \/___/ \/_/\/_/\/____/\/_/\ \_\ \/___/
8-
\ \____/
9-
\/___/
7+
\/___/ \/__/\/_/\/____/ \/_/\/_/\/___/ \/___/ \/_/\/_/\/____/\/_/\ \_\ \/___/
8+
\ \____/
9+
\/___/
1010
(_'_______________________________________________________________________________'_)
1111
(_.———————————————————————————————————————————————————————————————————————————————._)
12-
13-
12+
13+
1414
Backbone supplies structure to JavaScript-heavy applications by providing models key-value binding and custom events, collections with a rich API of enumerable functions, views with declarative event handling, and connects it all to your existing application over a RESTful JSON interface.
1515

1616
For Docs, License, Tests, pre-packed downloads, and everything else, really, see:
1717
http://backbonejs.org
1818

1919
To suggest a feature, report a bug, or general discussion:
20-
http://github.com/documentcloud/backbone/issues/
20+
http://github.com/jashkenas/backbone/issues
21+
22+
Backbone is an open-sourced component of DocumentCloud:
23+
https://github.com/documentcloud
2124

22-
All contributors are listed here:
23-
http://github.com/documentcloud/backbone/contributors
25+
Many thanks to our contributors:
26+
http://github.com/jashkenas/backbone/contributors
2427

25-
Special thanks to Robert Kieffer for the original philosophy behind Backbone.
28+
Special thanks to Robert Kieffer for the original philosophy behind Backbone.
2629
http://github.com/broofa

bower_components/backbone/Rakefile

-24
This file was deleted.

bower_components/backbone/backbone-min.js

+2-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bower_components/backbone/backbone-min.map

+1-1
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)