Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix expose AMD

  • Loading branch information...
commit cc6d11f53f08440ae3c97b16218b858587a1777f 1 parent 02b943a
@eduardo-matos authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  put.js
View
2  put.js
@@ -213,7 +213,7 @@ define([], forDocument = function(doc, newFragmentFasterHeuristic){
});
})(function(id, deps, factory){
factory = factory || deps;
- if(typeof define != "undefined"){
+ if(typeof define === "function" && define.amd){
// AMD loader
define([], function(){
return factory();
Please sign in to comment.
Something went wrong with that request. Please try again.