madsflensted/ss-LiveScript
LiveScript code wrapper for SocketStream 0.3
{ "createdAt": "2012-06-22T19:13:09Z", "defaultBranch": "master", "description": "LiveScript code wrapper for SocketStream 0.3", "fullName": "madsflensted/ss-LiveScript", "homepage": "", "language": "JavaScript", "name": "ss-LiveScript", "pushedAt": "2015-01-07T09:07:20Z", "stargazersCount": 4, "topics": [], "updatedAt": "2015-10-23T13:00:13Z", "url": "https://github.com/madsflensted/ss-LiveScript"}LiveScript (JS) wrapper for SocketStream 0.3
Section titled “LiveScript (JS) wrapper for SocketStream 0.3”Allows you to use LiveScript files (.ls) in your SocketStream project.
Instructions
Section titled “Instructions”Add ss-livescript to your application’s package.json file and then add this line to app.js:
ss.client.formatters.add(require('ss-livescript'));NOTE: when you want to require client side modules written in LiveScript, remember to add the .ls extension.
E.g. in entry.js:
require('/app.ls')prelude-ls
Section titled “prelude-ls”This wrapper only includes the base LiveScript language library. If you want to use prelude-ls in your client then:
place prelude.js in client/code/system
add 'system' folder to code section of your client definition (in /app.js)
# require prelude in your client code, here attached to window, but select your own targetrequire \prelude . installPrelude windowCredits
Section titled “Credits”Based on the ss-coffee wrapper by the core SocketStream team.