Show More
Commit Description:
fix wrong merge
Commit Description:
fix wrong merge
References:
File last commit:
Show/Diff file:
Action:
node_modules/crypto-js/pad-nopadding.js
| 29 lines
| 554 B
| application/javascript
| JavascriptLexer
|
r789 | ;(function (root, factory, undef) { | ||
if (typeof exports === "object") { | |||
// CommonJS | |||
module.exports = exports = factory(require("./core"), require("./cipher-core")); | |||
} | |||
else if (typeof define === "function" && define.amd) { | |||
// AMD | |||
define(["./core", "./cipher-core"], factory); | |||
} | |||
else { | |||
// Global (browser) | |||
factory(root.CryptoJS); | |||
} | |||
}(this, function (CryptoJS) { | |||
/** | |||
* A noop padding strategy. | |||
*/ | |||
CryptoJS.pad.NoPadding = { | |||
pad: function () { | |||
}, | |||
unpad: function () { | |||
} | |||
}; | |||
return CryptoJS.pad.NoPadding; | |||
})); |