Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/abernier/spine-requirejs-coffeescript-mashup
https://github.com/abernier/spine-requirejs-coffeescript-mashup
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/abernier/spine-requirejs-coffeescript-mashup
- Owner: abernier
- Fork: true (uooq/spine-requirejs-coffeescript-mashup)
- Created: 2011-12-29T01:39:30.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2011-11-10T01:31:17.000Z (about 13 years ago)
- Last Synced: 2023-03-12T02:40:00.356Z (almost 2 years ago)
- Language: JavaScript
- Homepage:
- Size: 225 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CoffeeScript, Spine & Modules in the browser
This is a minor reworking of the [spine "to do list" example](https://github.com/maccman/spine.todos). I took the original example and split it into a modular design, adding requirejs to do asynchronous module loading and require-cs to do coffeescript compilation when modules are loaded.
I did this as a technology proof of concept for a large web app my team is building. This represents a design-time environment but we will be optimizing/minifying the app when we push to a production environment.
# Requirements
Because this app loads script files on demand via http, it will only work if you run it from a webserver (i.e. you use an http-like url), or if you have a browser that allows ajax calls to fetch modules from the file system.
I like to do this by running chrome with the startup switch --allow-file-access-from-files.