diff --git a/src/Ply.es6 b/src/Ply.es6 index ca68c15..d93b3fa 100644 --- a/src/Ply.es6 +++ b/src/Ply.es6 @@ -11,17 +11,15 @@ 'use strict'; + import $ from 'jquery'; + + var gid = 1, noop = () => {}, document = window.document, setTimeout = window.setTimeout, - $ = window.jQuery - || /* istanbul ignore next */ window.Zepto - || /* istanbul ignore next */ window.ender - || /* istanbul ignore next */ window.$, - Promise = Deferred || window.Promise, diff --git a/src/jquery.es6 b/src/jquery.es6 new file mode 100644 index 0000000..f9d64d7 --- /dev/null +++ b/src/jquery.es6 @@ -0,0 +1,5 @@ +export default (window.jQuery + || /* istanbul ignore next */ window.Zepto + || /* istanbul ignore next */ window.ender + || /* istanbul ignore next */ window.$ +);