Online Sequencer Forums

Full Version: Why did you name the variables as just letters?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I  was looking through https://onlinesequencer.net/resources/c/...c6c8c94.js

Is there a way to use it as an executable file?
(11-24-2020, 10:24 PM)Lopyt Wrote: [ -> ]I  was looking through https://onlinesequencer.net/resources/c/...c6c8c94.js

Is there a way to use it as an executable file?
That's obfuscated/minified code. All the variables were automatically renamed to single letters, and all the spaces and comments were removed, to make the code smaller. I wouldn't recommend trying to read it like this Upside_down
The code we actually work on is broken up over a bunch of files that are easier to read, like this: https://onlinesequencer.net/app/sequencer.js

You can't really execute these files without the web page along side it. Eg, it'll try to look for buttons to attach callbacks to, and error when it can't find them.
Ah ok, that makes much more sense. Thanks!