Sha256: 002336beb37fbb0e691a2624b4f5f9f95d49c4553390f11e429f496f91d09439
Contents?: true
Size: 325 Bytes
Versions: 1
Compression:
Stored size: 325 Bytes
Contents
var scStatic = require('./sc_static'); exports.compilePreprocessor = function(code, sandbox, filename, pkg){ // Handle sc_super() code = code.replace(/sc_super\(\s*\)/g, 'arguments.callee.base.apply(this, arguments)'); // Handle sc_static|static_url code = scStatic.replace(code, sandbox, pkg); return code; };
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
spade-0.0.1 | packages/sproutcore-preprocessor/lib/preprocessor.js |