Plato on Github
Report Home
src/require/json.js
Maintainability
92.52
Lines of code
12
Difficulty
2.81
Estimated Errors
0.02
Function weight
By Complexity
By SLOC
/** * @file Require JSON resource handling * @since 0.2.2 */ /*#ifndef(UMD)*/ "use strict"; /*global _gpfRequireProcessor*/ // Mapping of resource extension to processor function /*#endif*/ _gpfRequireProcessor[".json"] = function (name, content) { return JSON.parse(content); };