Permalink
Browse files

- some progress on docs

  • Loading branch information...
1 parent 7b1ffa1 commit cbac5d72420ad1b11ce80aa72df244a96502f7ee nickolay committed May 26, 2010
Showing with 5 additions and 5 deletions.
  1. +5 −5 lib/Task/Joose/NodeJS.mmd
@@ -64,7 +64,7 @@ DESCRIPTION
>> Additional features for attributes
-> JooseX.Namespace.Depended [0.02](http://openjsan.org/doc/s/sa/samuraijack/JooseX/Namespace/Depended/0.02/lib/JooseX/Namespace/Depended.html)
+> JooseX.Namespace.Depended [0.03](http://openjsan.org/doc/s/sa/samuraijack/JooseX/Namespace/Depended/0.03/lib/JooseX/Namespace/Depended.html)
>> Dependencies handling extension
@@ -80,7 +80,7 @@ Joose was initially created to run in browser environment. Browser platform is l
Thus, Joose wasn't able to adapt the CommonJS modules system (which is synchronous) and behave differently. However, when using Joose on server-side, you can freely mix the
Joose and CommonJS modules.
-Below is the quick introductory to Joose modules. Please refer to [Joose manual](http://openjsan.org/go/?l=Joose.Manual) for details.
+Below is the quick introduction to Joose modules. Please refer to [Joose manual](http://openjsan.org/go/?l=Joose.Manual) for details.
Basic Joose module
@@ -101,8 +101,8 @@ The module in Joose is just a special kind of class, which is declared with `Mod
Some.Module.exportedFunction1()
Some.Module.exportedFunction2()
-The module doesn't export anything. Instead, the module namespace (`Some.Module`) is exported to the calling scope. If you need to export some function, then define it
-as the property of the module's namespace (when defining Classes you may prefer to use [static methods](http://openjsan.org/go/?l=Joose.Manual.Static))
+The module doesn't export anything. Instead, the module namespace (`Some.Module`) is exported to the calling scope. If you need to export some function - define it
+as the property of the module's namespace (when declaring Classes you may prefer to use [static methods](http://openjsan.org/go/?l=Joose.Manual.Static))
Joose module with dependencies
@@ -129,7 +129,7 @@ If the module depends on other modules, the dependencies should be listed with `
var exportedFunction2 = Some.Module.exportedFunction2
}})
-Before running the "body" all dependencies will be asynchronously pre-loaded (only once). This code will work unmodified in both browser and server-side enviroments.
+Before running the "body" all dependencies will be asynchronously pre-loaded (only once). This code will work unmodified in both browser and server-side environments.
This functionality is provided by the [JooseX.Namespace.Depended](http://openjsan.org/go/?l=JooseX.Namespace.Depended) extension, please refer to its documentation for details
(like how the files should be laid out in filesystem).

0 comments on commit cbac5d7

Please sign in to comment.