3 ms·
http://quickenloans.github.io/Behaviors.js/ http://quickenloans.github.io/Behaviors.js/ Once I got past certain mental blocks, it became fairly obvious that yo
by romaniv 6y ago
http://quickenloans.github.io/Behaviors.js/ http://quickenloans.github.io/Behaviors.js/
Once I got past certain mental blocks, it became fairly obvious that you can structure all your GUI scripts to be configured and to interact with one another via DOM.
The next insight was to use CSS selectors for targeting.
Then using consistent name prefixes and separating behaviors into self-contained libraries.
The stuff above was proof-of-concept. The possibilities behind this approach are mostly unexplored.