benderjs-jquery
Advanced tools
Comparing version 0.2.3 to 0.3.0
@@ -16,5 +16,3 @@ /** | ||
attach: function() { | ||
var bender = this, | ||
html = bender.plugins[ 'bender-pagebuilder-html' ], | ||
idx; | ||
var bender = this; | ||
@@ -58,9 +56,6 @@ function build( data ) { | ||
// add plugin before pagebuilder-html | ||
if ( html && ( idx = bender.pagebuilders.indexOf( html.build ) ) > -1 ) { | ||
bender.pagebuilders.splice( idx, 0, build ); | ||
} else { | ||
bender.pagebuilders.push( build ); | ||
} | ||
var priority = bender.pagebuilders.getPriority( 'html' ); | ||
bender.pagebuilders.add( 'jquery', build, priority - 1 ); | ||
} | ||
}; |
@@ -47,4 +47,4 @@ /** | ||
attach: function() { | ||
this.testbuilders.push( build ); | ||
this.testbuilders.add( 'jquery', build ); | ||
} | ||
}; |
{ | ||
"name": "benderjs-jquery", | ||
"version": "0.2.3", | ||
"version": "0.3.0", | ||
"description": "jQuery plugin for Bender.js", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11760
201