Updated documentation

(And added missing change from previous commit!)
This commit is contained in:
Colin Eberhardt
2015-08-11 17:53:47 +01:00
parent 3b406b30c2
commit 7f9b3afe33
5 changed files with 16 additions and 86 deletions

View File

@@ -985,22 +985,3 @@ var computeLayout = (function() {
extractNodes: extractNodes
};
})();
// UMD (Universal Module Definition)
// See https://github.com/umdjs/umd for reference
(function (root, factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
define([], factory);
} else if (typeof exports === 'object') {
// Node. Does not work with strict CommonJS, but
// only CommonJS-like environments that support module.exports,
// like Node.
module.exports = factory();
} else {
// Browser globals (root is window)
root.returnExports = factory();
}
}(this, function () {
return computeLayout;
}));