Comments (3)
CoffeeScript automatically wraps all files within closures in order to prevent polluting the global namespace. If you're not using CS it would be a good idea to wrap everything in the module pattern as you suggest.
Despite my dislike of the 'require' method, I actually like the elegance of your proposed solution. Thanks!
It needs to go hand-in-hand with other features which will come with a re-write of the Client Asset Manager which will also involve big changes to the project directory structure. This is sounding like something for 0.4 as it maybe too big for 0.3 (which really needs to be about getting Models and Authentication right).
from socketstream.
Maybe you should start using milestones feature of github to mark certain issues as 0.2/0.3/0.4
from socketstream.
Closing this now. You will find something very similar to this idea in 0.3, hopefully ready to go onto github tomorrow. Thanks for the inspiration and ideas!
from socketstream.
Related Issues (20)
- Token Authentication with Socketstream HOT 3
- Base SocketStream client on SystemJS HOT 1
- Security hardening HOT 1
- develop: engine.io client looses this HOT 2
- Relative path for serving assets and code HOT 6
- Transport for "undefined" must be a function HOT 2
- Separate Streams per View
- Missing steps in installation. HOT 5
- Uncaught Error: Cannot find module 'socketstream-session' within '.' HOT 14
- Problem with 'browserifyExcludePaths' client option HOT 1
- existsSync no longer exists on Node 6 HOT 4
- Is project is dead? HOT 8
- Starting http server with ss.http.middleware manually and passing to ss.start(server) is not working. HOT 1
- Bundling issues HOT 1
- Website URL/certificate woes... HOT 3
- Error: Cannot find module './lib/parse-js' HOT 2
- Grab bag of issues HOT 7
- Download stream data HOT 1
- Roadmap for 0.4.6 HOT 10
- Regular Expression DoS vulnerability HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from socketstream.