Browse Source

+ es6 modules

modules
RubaXa 11 years ago
parent
commit
c00b148646
  1. 8
      src/Ply.es6
  2. 5
      src/jquery.es6

8
src/Ply.es6

@ -11,17 +11,15 @@
'use strict'; 'use strict';
import $ from 'jquery';
var gid = 1, var gid = 1,
noop = () => {}, noop = () => {},
document = window.document, document = window.document,
setTimeout = window.setTimeout, setTimeout = window.setTimeout,
$ = window.jQuery
|| /* istanbul ignore next */ window.Zepto
|| /* istanbul ignore next */ window.ender
|| /* istanbul ignore next */ window.$,
Promise = Deferred || window.Promise, Promise = Deferred || window.Promise,

5
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.$
);
Loading…
Cancel
Save