Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Update tableling to 0.0.16. Version bump to 0.0.13.

  • Loading branch information...
commit ba28a1c9f30cd3cb27d242eba97b4608906952cf 1 parent 3cda33e
Simon Oulevay authored
2  Gemfile.lock
View
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
- tableling-rails (0.0.11)
+ tableling-rails (0.0.13)
rails (~> 3.2)
GEM
2  VERSION
View
@@ -1 +1 @@
-0.0.12
+0.0.13
2  lib/tableling-rails/version.rb
View
@@ -1,3 +1,3 @@
module Tableling
- VERSION = "0.0.12"
+ VERSION = "0.0.13"
end
9 vendor/assets/javascripts/tableling.backbone.js
View
@@ -3555,7 +3555,7 @@ _.extend(Marionette.Module, {
return Marionette;
})(Backbone, _, $ || window.jQuery || window.Zepto || window.ender);
/*!
- * Tableling v0.0.15
+ * Tableling v0.0.16
* Copyright (c) 2012-2013 Simon Oulevay (Alpha Hydrae) <hydrae.alpha@gmail.com>
* Distributed under MIT license
* https://github.com/AlphaHydrae/tableling
@@ -3563,7 +3563,7 @@ _.extend(Marionette.Module, {
Backbone.Tableling = Tableling = (function(Backbone, _, $){
var Tableling = {
- version : "0.0.15"
+ version : "0.0.16"
};
// Tableling
@@ -3591,6 +3591,7 @@ Backbone.Tableling = Tableling = (function(Backbone, _, $){
this.vent = options.vent || new Backbone.Wreqr.EventAggregator();
this.fetchOptions = _.extend(_.clone(this.fetchOptions || {}), _.result(options, 'fetchOptions') || {});
+ this.autoUpdate = typeof(options.autoUpdate) != 'undefined' ? options.autoUpdate : true;
// Components should trigger the `table:update` event to update
// the table (e.g. change page size, sort) and fetch the new data.
@@ -3602,7 +3603,9 @@ Backbone.Tableling = Tableling = (function(Backbone, _, $){
// Called once rendering is complete. By default, it updates the table.
setup : function() {
this.ventTrigger('table:setup', this.config);
- this.ventTrigger('table:update');
+ if (this.autoUpdate) {
+ this.ventTrigger('table:update');
+ }
},
// Subclasses must return the Backbone.Collection used to fetch data.
9 vendor/assets/javascripts/tableling.js
View
@@ -1,5 +1,5 @@
/*!
- * Tableling v0.0.15
+ * Tableling v0.0.16
* Copyright (c) 2012-2013 Simon Oulevay (Alpha Hydrae) <hydrae.alpha@gmail.com>
* Distributed under MIT license
* https://github.com/AlphaHydrae/tableling
@@ -7,7 +7,7 @@
Backbone.Tableling = Tableling = (function(Backbone, _, $){
var Tableling = {
- version : "0.0.15"
+ version : "0.0.16"
};
// Tableling
@@ -35,6 +35,7 @@ Backbone.Tableling = Tableling = (function(Backbone, _, $){
this.vent = options.vent || new Backbone.Wreqr.EventAggregator();
this.fetchOptions = _.extend(_.clone(this.fetchOptions || {}), _.result(options, 'fetchOptions') || {});
+ this.autoUpdate = typeof(options.autoUpdate) != 'undefined' ? options.autoUpdate : true;
// Components should trigger the `table:update` event to update
// the table (e.g. change page size, sort) and fetch the new data.
@@ -46,7 +47,9 @@ Backbone.Tableling = Tableling = (function(Backbone, _, $){
// Called once rendering is complete. By default, it updates the table.
setup : function() {
this.ventTrigger('table:setup', this.config);
- this.ventTrigger('table:update');
+ if (this.autoUpdate) {
+ this.ventTrigger('table:update');
+ }
},
// Subclasses must return the Backbone.Collection used to fetch data.
9 vendor/assets/javascripts/tableling.world.js
View
@@ -14826,7 +14826,7 @@ _.extend(Marionette.Module, {
return Marionette;
})(Backbone, _, $ || window.jQuery || window.Zepto || window.ender);
/*!
- * Tableling v0.0.15
+ * Tableling v0.0.16
* Copyright (c) 2012-2013 Simon Oulevay (Alpha Hydrae) <hydrae.alpha@gmail.com>
* Distributed under MIT license
* https://github.com/AlphaHydrae/tableling
@@ -14834,7 +14834,7 @@ _.extend(Marionette.Module, {
Backbone.Tableling = Tableling = (function(Backbone, _, $){
var Tableling = {
- version : "0.0.15"
+ version : "0.0.16"
};
// Tableling
@@ -14862,6 +14862,7 @@ Backbone.Tableling = Tableling = (function(Backbone, _, $){
this.vent = options.vent || new Backbone.Wreqr.EventAggregator();
this.fetchOptions = _.extend(_.clone(this.fetchOptions || {}), _.result(options, 'fetchOptions') || {});
+ this.autoUpdate = typeof(options.autoUpdate) != 'undefined' ? options.autoUpdate : true;
// Components should trigger the `table:update` event to update
// the table (e.g. change page size, sort) and fetch the new data.
@@ -14873,7 +14874,9 @@ Backbone.Tableling = Tableling = (function(Backbone, _, $){
// Called once rendering is complete. By default, it updates the table.
setup : function() {
this.ventTrigger('table:setup', this.config);
- this.ventTrigger('table:update');
+ if (this.autoUpdate) {
+ this.ventTrigger('table:update');
+ }
},
// Subclasses must return the Backbone.Collection used to fetch data.
Please sign in to comment.
Something went wrong with that request. Please try again.