Labs/Jetpack/Reboot FAQ: Difference between revisions

m
added link to commonjs module standard
No edit summary
m (added link to commonjs module standard)
Line 67: Line 67:
'''I'd like to keep my capability factory code in one file, and the capability code itself in another.  How do I "include" the latter in the former?'''
'''I'd like to keep my capability factory code in one file, and the capability code itself in another.  How do I "include" the latter in the former?'''


Use the CommonJS module standard to separate different kinds of functionality like this.
Use the [http://wiki.commonjs.org/wiki/Modules/1.0 CommonJS module standard] to separate different kinds of functionality like this.
874

edits