Skip to content

Commit

Permalink
- removed links to openjsan
Browse files Browse the repository at this point in the history
  • Loading branch information
Nickolay Platonov committed Nov 15, 2010
1 parent ec36a18 commit 829168f
Show file tree
Hide file tree
Showing 8 changed files with 23 additions and 29 deletions.
6 changes: 3 additions & 3 deletions README.md
Expand Up @@ -78,12 +78,12 @@ From [npm](http://github.com/isaacs/npm/)
[sudo] npm install joose


For other options please refer to: <http://openjsan.org/go?l=Joose.Manual.Installation>
For other options please refer to: <http://joose.github.com/Joose/doc/html/Joose/Manual/Installation.html>

DOCUMENTATION
=============

For documentation please refer to: <http://openjsan.org/go?l=Joose>
For documentation please refer to: <http://joose.github.com/Joose>


ACKNOWLEDGEMENTS
Expand Down Expand Up @@ -117,7 +117,7 @@ Nickolay Platonov
COPYRIGHT AND LICENSE
=====================

Copyright (c) 2008-2009, Malte Ubl, Nickolay Platonov
Copyright (c) 2008-2010, Malte Ubl, Nickolay Platonov

All rights reserved.

Expand Down
14 changes: 6 additions & 8 deletions lib/Joose.mmd
Expand Up @@ -301,7 +301,7 @@ The JooseX. namespace
Generally if you're writing an extension for Joose itself you'll want to put your extension in the JooseX. namespace. This namespace is specifically for extensions that make Joose better or different in some fundamental way.
It is traditionally not for a package that just happens to use Joose.

These extensions can be found on the [JSAN][3]. See [Joose.Manual.JooseX][7] for more details.
These extensions can be found in the [npm registry][3]. See [Joose.Manual.JooseX][7] for more details.


<div style="display:none">
Expand All @@ -319,13 +319,11 @@ Method modifiers order in Rhino
GETTING HELP
============

We offer a forum, a mailing list and an active IRC channel.
We offer a mailing list and an active IRC channel.

The forum is at [http://joose.it/forum](http://joose.it/forum)
The mailing list is <a href="mailto:joose-js@googlegroups.com">joose-js@googlegroups.com</a>. To subscribe, visit: <http://groups.google.com/group/joose-js>

The mailing list is <a href="mailto:joose-js@googlegroups.com">joose-js@googlegroups.com</a>. To subscribe, visit: [http://groups.google.com/group/joose-js](http://groups.google.com/group/joose-js)

You can also visit us at #joose on irc.freenode.org. Questions at all levels (on Joose-related topics ;) are welcome.
You can also visit us at [#joose](http://webchat.freenode.net/?randomnick=1&channels=joose&prompt=1) on freenode. Questions at all levels (on Joose-related topics ;) are welcome.


ACKNOWLEDGEMENTS
Expand All @@ -350,7 +348,7 @@ BUGS

All complex software has bugs lurking in it, and this module is no exception.

Please report any bugs through the web interface at [http://code.google.com/p/joose-js/issues/list](http://code.google.com/p/joose-js/issues/list)
Please report any bugs through the web interface at <https://github.com/Joose/Joose/issues>


FEATURE REQUESTS
Expand Down Expand Up @@ -395,7 +393,7 @@ Documentation is based on original Moose::Manual documentation, copyright 2006-2

[1]: Joose/Manual.html
[2]: Joose/Cookbook.html
[3]: http://openjsan.org/index.html
[3]: http://npmjs.org
[4]: Joose/Manual/Attributes.html
[5]: Joose/Manual/Roles.html
[6]: Joose/Manual/Static.html
Expand Down
7 changes: 2 additions & 5 deletions lib/Joose/Cookbook/Basics/Recipe1.js
Expand Up @@ -52,9 +52,8 @@ When Joose is loaded, it exports a set of sugar functions into global namespace.
This means that we import some functions which serve as Joose "keywords".
These aren't real language keywords, they're just JavaScript functions exported into our package.
Joose automatically makes our class a subclass of [Joose.Meta.Object][protoobject].
The `Joose.Meta.Object` class provides us with a constructor that
respects our attributes, as well other features. See [Joose.Meta.Object][protoobject] for details.
Joose automatically makes our class a subclass of "Joose.Meta.Object".
This class provides us with a constructor that respects our attributes, as well other features.
Now, onto the keywords. The first one we see here is `Class`, which starts the declaration of the class.
Expand Down Expand Up @@ -194,7 +193,5 @@ Redistribution and use in source and binary forms, with or without modification,
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
[protoobject]: http://openjsan.org/go?l=Joose.Meta.Object
[roles]: ../../Manual/Roles.html
*/
2 changes: 1 addition & 1 deletion lib/Joose/Manual/Attributes.js
Expand Up @@ -283,6 +283,6 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
[1]: JooseX.html
[2]: ../Cookbook.html
[3]: http://openjsan.org/go?l=JooseX.Attribute
[3]: http://samuraijack.github.com/JooseX-Attribute
*/
2 changes: 1 addition & 1 deletion lib/Joose/Manual/Construction.js
Expand Up @@ -58,7 +58,7 @@ When you building a class with Joose, it provides a *default constructor* for yo
`BUILD` method should return an object, which properties directly corresponds to class attributes - they will be used to initialize them.
**Important**: The order of attributes initialization is *not defined*. You shouldn't rely on it. If you need to initialize some attribute after another, consider to use [lazy attributes](http://openjsan.org/go/?l=JooseX.Attribute.Lazy)
**Important**: The order of attributes initialization is *not defined*. You shouldn't rely on it. If you need to initialize some attribute after another, consider to use [lazy attributes](http://samuraijack.github.com/JooseX-Attribute/doc/html/JooseX/Attribute/Lazy.html)
Default `BUILD` method just checks whether the 1st arguments passed to it is an `Object`, if so - its returned.
Expand Down
11 changes: 6 additions & 5 deletions lib/Joose/Manual/JooseX.js
Expand Up @@ -10,7 +10,9 @@ JooseX?
It's easy to extend and change Joose, and this is part of what makes Joose so powerful. You can use the meta API to do things your own way, add new features, and generally customize your Joose.
Writing your own extensions does require a good understanding of the meta-model. You can start learning about this with the [Joose.Proto.Class][protoclass] docs. There are also several extension recipes in the [Joose.Cookbook][cookbook].
Writing your own extensions does require a good understanding of the meta-model.
You can start learning about it from this [blog post](http://joose.it/blog/2010/10/03/joose-3-internals-part-i-meta-layers/).
There are also several extension recipes in the [Joose.Cookbook][cookbook].
Explaining how to write extensions is beyond the scope of this manual. Fortunately, lots of people have already written extensions and put them on JSAN for you.
Expand Down Expand Up @@ -160,10 +162,9 @@ Redistribution and use in source and binary forms, with or without modification,
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
[protoclass]: http://openjsan.org/go?l=Joose.Proto.Class
[cookbook]: ../Cookbook.html
[attributex]: http://openjsan.org/go?l=JooseX.Attribute
[depended]: http://openjsan.org/go?l=JooseX.Namespace.Depended
[bridge]: http://openjsan.org/go?l=JooseX.Bridge.Ext
[attributex]: http://samuraijack.github.com/JooseX-Attribute
[depended]: http://samuraijack.github.com/JooseX-Namespace-Depended
[bridge]: http://samuraijack.github.com/joosex-bridge-ext
*/
8 changes: 3 additions & 5 deletions lib/Joose/Manual/Reflection.js
Expand Up @@ -42,11 +42,11 @@ The metaclass instance can tell you about a class's attributes, methods, roles,
console.log('class has attribute ' + name)
})
The `getAttributes` method is documented in [Joose.Managed.PropertySet.Containable][containable]. It returns an instance of `Joose.Managed.PropertySet.Containable` class, which represents a set of attributes defined in the class (and its parent).
The `getAttributes` method returns an instance of `Joose.Managed.PropertySet` class, which represents a set of attributes defined in the class (and its parent).
This instance provides an `eachAll` iterator, which will call a provided function for each element ('all' stands for: both defined in the class or in the superclass).
This instance provides an `eachAll` iterator, which will call a provided function for each element ('all' stands for: either defined in the class or in the superclass).
The 1st argument for iterator function will be usually an instance of [Joose.Managed.Attribute][attribute]
The 1st argument for iterator function will be usually an instance of "Joose.Managed.Attribute"
Note that sometimes it may actually be a subclass of `Joose.Managed.Attribute`, as Joose uses different classes to represent usual attribute, delegation attributes, etc.
Expand Down Expand Up @@ -109,8 +109,6 @@ Redistribution and use in source and binary forms, with or without modification,
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
[containable]: http://openjsan.org/go?l=Joose.Managed.PropertySet.Containable
[attribute]: http://openjsan.org/go?l=Joose.Managed.Attribute
[cookbook]: ../Cookbook.html
[joose]: ../../Joose.html
Expand Down
2 changes: 1 addition & 1 deletion lib/Joose/Manual/Traits.js
Expand Up @@ -100,7 +100,7 @@ TRAITS AS META-ROLES
Sometime traits are also mentioned in *meta-role* context. This means, that this trait is being applied to the instance of meta-class.
Such traits modifies the *behaviour of class itself* (its meta), not its methods or attributes.
An example of such trait can be a [JooseX.Class.Singleton](http://openjsan.org/go?l=JooseX.Class.Singleton):
An example of such trait can be a [JooseX.Class.Singleton](http://samuraijack.github.com/JooseX-Class-Singleton):
Class('Some.Class', {
Expand Down

0 comments on commit 829168f

Please sign in to comment.