@carpages/jquery-boiler
Advanced tools
Comparing version 0.5.0 to 0.6.0-alpha.1
@@ -1,16 +0,4 @@ | ||
( function( factory ) { | ||
if ( typeof define === 'function' && define.amd ) { | ||
// AMD. Register as an anonymous module. | ||
define([ 'jquery' ], factory ); | ||
} else if ( typeof exports === 'object' ) { | ||
// Node/CommonJS | ||
module.exports = factory( require( 'jquery' )); | ||
} else { | ||
// Browser globals | ||
factory( jQuery ); | ||
} | ||
})( function( $ ) { | ||
'use strict'; | ||
import $ from 'jquery'; | ||
$.boiler = function( namespace, base ) { | ||
$.boiler = function( namespace, base ) { | ||
$.fn[namespace] = function() { | ||
@@ -79,3 +67,2 @@ var args = Array.prototype.slice.call( arguments ); | ||
return $; | ||
}); | ||
export default $; |
{ | ||
"name": "@carpages/jquery-boiler", | ||
"version": "0.5.0", | ||
"version": "0.6.0-alpha.1", | ||
"description": "A jQuery plugin to help you quickly write custom jQuery plugins", | ||
@@ -5,0 +5,0 @@ "author": "Matt Rose <matt@mattrose.ca> (http://mattrose.ca)", |
25723
493