backboneAX 0.0.11 → 0.0.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,3 @@
1
1
  module BackboneAX
2
- VERSION = "0.0.11"
2
+ VERSION = "0.0.12"
3
3
  end
@@ -1,8 +1,8 @@
1
1
  class Bx.Collection.Base extends Backbone.Collection
2
2
 
3
- constructor: (options = {}) ->
4
- super(options)
5
- @models = []
3
+ constructor: (models, options = {}) ->
4
+ super(models, options)
5
+ # @models = []
6
6
  @fetchCalled = false
7
7
 
8
8
  fetch: (options = {}) ->
@@ -1,7 +1,7 @@
1
1
  class Bx.Collection.Paginate extends Bx.Collection.Base
2
2
 
3
- constructor: (options = {}) ->
4
- super(options)
3
+ constructor: (models, options = {}) ->
4
+ super(models, options)
5
5
  @pageSize = options.pageSize ? 10
6
6
  @pageCurrent = options.pageCurrent ? 0
7
7
  @pageTotal = options.pageTotal ? 1
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: backboneAX
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.11
4
+ version: 0.0.12
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-03-18 00:00:00.000000000 Z
12
+ date: 2012-03-24 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: backbone Application Extensions for cleaner application development
15
15
  email:
@@ -52,7 +52,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
52
52
  version: '0'
53
53
  segments:
54
54
  - 0
55
- hash: -2252370309822116205
55
+ hash: 906206400187435403
56
56
  required_rubygems_version: !ruby/object:Gem::Requirement
57
57
  none: false
58
58
  requirements:
@@ -61,7 +61,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
61
61
  version: '0'
62
62
  segments:
63
63
  - 0
64
- hash: -2252370309822116205
64
+ hash: 906206400187435403
65
65
  requirements: []
66
66
  rubyforge_project: backboneAX
67
67
  rubygems_version: 1.8.17