Closed ghost closed 8 years ago
Any way to refer whole local variables object in included file, to pass it in another include?
This seem to wrok fine:
processIncludeContents: function(contents, localVars) { var local = contents.replace( /@@local_vars/g, JSON.stringify(localVars) ); return local; },
Any way to refer whole local variables object in included file, to pass it in another include?
This seem to wrok fine: