Browse Source

Merge pull request #730 from dangreen/master

Throw error if call in node
pull/737/head
Lebedev Konstantin 9 years ago
parent
commit
ea407ce24b
  1. 6
      Sortable.js

6
Sortable.js

@ -24,6 +24,12 @@
})(function () { })(function () {
"use strict"; "use strict";
if (typeof window == "undefined" || typeof window.document == "undefined") {
return function() {
throw new Error( "Sortable.js requires a window with a document" );
}
}
var dragEl, var dragEl,
parentEl, parentEl,
ghostEl, ghostEl,

Loading…
Cancel
Save