JavaScript module loader for the browser that can load CommonJS/node and AMD modules requirejs/cajon · GitHub cajon(カホンって読むっぽい。ペルー発祥の打楽器の名前らしい)なんてものを見つけた。require.js上に構築されてるとかなんとか。require.jsもよく知らないんだけど、これはこれで簡単だしいいかも。 構成 . ├── index.html └── js ├── cajon.js ├── controller.js ├── jquery.js ├── lib.js ├── model.js ├── template.js └── view.js index.html <!DOCTYPE HTML> <html lang="ja"> <head> <meta ch
![cajonでjavascriptを分割管理 - PYTHONIC BOOM BOOM HEAD](https://cdn-ak-scissors.b.st-hatena.com/image/square/293a82fcd88d2b4b41225dc3963e0b1e77016d6b/height=288;version=1;width=512/http%3A%2F%2Fcdn-ak.f.st-hatena.com%2Fimages%2Ffotolife%2Fk%2Fkk6%2F20120922%2F20120922000441.png)