Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for(tool in jsc.tools) {
- tool.init();
- }
- jsc.tools.sometool = {};
- jsc.tools.sometool.run = function() {
- // Apply tool
- }
- jsc.tools.sometool.init = function() {
- // Set bits of data needed for the tool to run
- }
- for(tool in jsc.tools) {
- jsc.tools[tool].init();
- }
- for(tool in jsc.tools) {
- jsc.tools[tool].init();
- }
Add Comment
Please, Sign In to add comment