jsfiddle / togetherjs

A service for your website that makes it surprisingly easy to collaborate in real-time.
https://togetherjs.com
Mozilla Public License 2.0
7.01k stars 849 forks source link

Why old <script> tags? #1097

Open ibc opened 8 years ago

ibc commented 8 years ago

The way in which this library (I mean the client side) is old and legacy. Is it true that I need to add a script tag into my web and place CSS files in there? Why not providing a modern library/module that can be loaded via require() like any modern JS lib does (by enabling CommonJS or AMD loading)?

There is no way to ingegrate this lib into a custom JS/HTML widget that can be embed into any website. In 2015 a JS lib cannot export variables and objects/functions into the global window namespace. That is so old and boring and hard to use within modern technologies.