Skip to content

Commit

Permalink
* Add Type: before Array, Object, Element etc. so show its an instanc…
Browse files Browse the repository at this point in the history
…e of Type

* #dollar and #dollars -> #Window:dollar and #Window.dollars
* Several link fixes
  • Loading branch information
Arian committed May 24, 2010
1 parent 33d9275 commit 2c1f1b6
Show file tree
Hide file tree
Showing 15 changed files with 59 additions and 57 deletions.
4 changes: 2 additions & 2 deletions Docs/Core/Core.md
@@ -1,5 +1,5 @@
Core {#Core}
============
Type: Core {#Core}
==================

Core contains a handful of common sense functions used in [MooTools](http://mootools.net).

Expand Down
8 changes: 4 additions & 4 deletions Docs/Element/Element.Dimensions.md
@@ -1,7 +1,7 @@
Element {#Element}
==========================
Type: Element {#Element}
=========================

Custom Native to allow all of its methods to be used with any DOM element via the dollar function [$][].
Custom Type to allow all of its methods to be used with any DOM element via the dollar function [$][].

### Notes:

Expand Down Expand Up @@ -225,7 +225,7 @@ Returns the parent of the element that is positioned, if there is one.



[$]: /core/Element/Element#dollar
[$]: /core/Element/Element#Window:dollar
[MDC Element:scrollLeft]: http://developer.mozilla.org/en/docs/DOM:element.scrollLeft
[MDC Element:scrollTop]: http://developer.mozilla.org/en/docs/DOM:element.scrollTop
[MDC Element:offsetWidth]: http://developer.mozilla.org/en/docs/DOM:element.offsetWidth
Expand Down
6 changes: 3 additions & 3 deletions Docs/Element/Element.Event.md
@@ -1,7 +1,7 @@
Element {#Element}
Type: Element {#Element}
==========================

- Custom Native to allow all of its methods to be used with any DOM element via the dollar function [$][].
- Custom Type to allow all of its methods to be used with any DOM element via the dollar function [$][].
- These methods are also available on window and document.

### Notes:
Expand Down Expand Up @@ -322,7 +322,7 @@ This event fires when the mouse wheel is rotated;



[$]: /core/Element/Element#dollar
[$]: /core/Element/Element#Window:dollar
[Function]: /core/Types/Function
[Function:bind]: /core/Types/Function/#bind
[Function:pass]: /core/Types/Function/#pass
Expand Down
8 changes: 4 additions & 4 deletions Docs/Element/Element.Style.md
@@ -1,7 +1,7 @@
Element {#Element}
==========================
Type: Element {#Element}
========================

Custom Native to allow all of its methods to be used with any DOM element via the dollar function [$][].
Custom Type to allow all of its methods to be used with any DOM element via the dollar function [$][].



Expand Down Expand Up @@ -117,6 +117,6 @@ Returns an object of styles of the Element for each argument passed in.



[$]: /core/Element/Element/#dollar
[$]: /core/Element/Element/#Window:dollar
[Function]: /core/Native/Function
[Element:getStyle]: #Element:getStyle
29 changes: 15 additions & 14 deletions Docs/Element/Element.md
@@ -1,10 +1,10 @@
Window {#Window}
========================
Type: Window {#Window}
======================

The following functions are treated as Window methods.


Function: $ {#dollar}
Function: $ {#Window:dollar}
---------------------

The dollar function has a dual purpose: Getting the element by its id, and making an element in Internet Explorer "grab" all the [Element][] methods.
Expand Down Expand Up @@ -45,7 +45,7 @@ The dollar function has a dual purpose: Getting the element by its id, and makin



Function: $$ {#dollars}
Function: $$ {#Window:dollars}
-----------------------

Selects and extends DOM elements. Elements arrays returned with $$ will also accept all the [Element][] methods.
Expand Down Expand Up @@ -95,10 +95,10 @@ Selects and extends DOM elements. Elements arrays returned with $$ will also acc



Element {#Element}
==========================
Type: Element {#Element}
========================

Custom Native to allow all of its methods to be used with any extended DOM Element.
Custom Type to allow all of its methods to be used with any extended DOM Element.



Expand Down Expand Up @@ -1651,10 +1651,10 @@ Returns the tag name of the Element in lower case.



Native: IFrame {#IFrame}
Type: IFrame {#IFrame}
========================

Custom Native to create and easily work with IFrames.
Custom Type to create and easily work with IFrames.



Expand Down Expand Up @@ -1716,7 +1716,7 @@ Creates an IFrame HTML Element and extends its window and document with MooTools



Native: Elements {#Elements}
Type: Elements {#Elements}
============================

The Elements class allows [Element][] methods to work on an [Elements][] array, as well as [Array][] Methods.
Expand Down Expand Up @@ -1773,7 +1773,7 @@ Elements Method: filter {#Elements:filter}
----------------------------------------------

Filters a collection of elements by a given tag name. If [Selectors][] is included, this method will be able to filter by any selector.
It also works like [Array:filter](/Native/Array/#Array:filter), by filtering collection of elements with a function.
It also works like [Array:filter][], by filtering collection of elements with a function.


### Syntax:
Expand All @@ -1790,10 +1790,11 @@ It also works like [Array:filter](/Native/Array/#Array:filter), by filtering col



[$]: #dollar
[$$]: #dollars
[$]: #Window:dollar
[$$]: #Window:dollars

[Array]: /core/Native/Array
[Array]: /core/Types/Array
[Array:filter]: /core/Types/Array#Array:filter
[Selectors]: /core/Utilities/Selectors

[Element]: #Element
Expand Down
4 changes: 2 additions & 2 deletions Docs/Fx/Fx.Morph.md
Expand Up @@ -173,7 +173,7 @@ Gets the default Fx.Morph instance for the Element.



Native: Element {#Element}
Type: Element {#Element}
==========================

Element Method: morph {#Element:morph}
Expand Down Expand Up @@ -209,7 +209,7 @@ With a selector:



[$]: /core/Element/Element#dollar
[$]: /core/Element/Element#Window:dollar
[Fx]: /core/Fx/Fx
[Fx.Morph]: #Fx-Morph
[Element.Properties]: /core/Element/Element/#Element-Properties
8 changes: 4 additions & 4 deletions Docs/Fx/Fx.Tween.md
Expand Up @@ -161,10 +161,10 @@ Sets and gets default options for the Fx.Tween instance of an Element.



Native: Element {#Element}
==========================
Type: Element {#Element}
========================

Custom Native to allow all of its methods to be used with any DOM element via the dollar function [$][].
Custom Type to allow all of its methods to be used with any DOM element via the dollar function [$][].



Expand Down Expand Up @@ -263,7 +263,7 @@ If no background color is set on the Element, or its background color is set to
$('myElement').highlight('#ddf', '#ccc');


[$]: /core/Element/Element#dollar
[$]: /core/Element/Element#Window:dollar
[Fx]: /core/Fx/Fx
[Fx.Tween]: #Fx-Tween
[Element.tween]: #Element-Properties:tween
Expand Down
8 changes: 4 additions & 4 deletions Docs/Request/Request.HTML.md
Expand Up @@ -135,10 +135,10 @@ Returns either the previously set Request.HTML instance or a new one with defaul



Native: Element {#Element}
==========================
Type: Element {#Element}
========================

Custom Native to allow all of its methods to be used with any DOM element via the dollar function [$][].
Custom Type to allow all of its methods to be used with any DOM element via the dollar function [$][].

Element Method: load {#Element:load}
------------------------------------
Expand Down Expand Up @@ -174,6 +174,6 @@ Updates the content of the Element with a Request.HTML GET request.
- [$][], [Request](/Request/Request)

[Request]: /core/Request/Request
[$]: /core/Element/Element/#dollar
[$]: /core/Element/Element/#Window:dollar
[Element.Properties]: /core/Element/Element/#Element-Properties
[Elements:filter]: /core/Element/Element#Elements:filter
8 changes: 4 additions & 4 deletions Docs/Request/Request.md
Expand Up @@ -275,10 +275,10 @@ Returns the previously set Request instance (or a new one with default options).
el.send();
el.get('send'); //Returns the Request instance.

Native: Element {#Element}
==========================
Type: Element {#Element}
========================

Custom Native to allow all of its methods to be used with any DOM element via the dollar function [$][].
Custom Type to allow all of its methods to be used with any DOM element via the dollar function [$][].


Element Method: send {#Element:send}
Expand Down Expand Up @@ -319,7 +319,7 @@ Sends a form or a container of inputs with an HTML request.



[$]: /core/Element/Element/#dollar
[$]: /core/Element/Element/#Window:dollar
[Request:send]: #Request:send
[Element.Properties]: /core/Element/Element/#Element-Properties
[URI]: /more/Native/URI
Expand Down
6 changes: 3 additions & 3 deletions Docs/Types/Array.md
@@ -1,7 +1,7 @@
Array {#Array}
==============
Type: Array {#Array}
====================

A collection of Array methods.
A collection of Array methods and functions.

### See Also:

Expand Down
5 changes: 2 additions & 3 deletions Docs/Types/Event.md
@@ -1,5 +1,5 @@
Event {#Event}
======================
Type: Event {#Event}
====================

MooTools Event Methods.

Expand Down Expand Up @@ -188,7 +188,6 @@ Additional Event key codes can be added by adding properties to the Event.Keys O
- [MooTools More Keyboard][]


[$]: /core/Element/#dollar
[Element:addEvent]: /core/Element/Element.Event#Element:addEvent
[Function]: /core/Types/Function
[Function:bind]: /core/Types/Function/#Function:bind
Expand Down
4 changes: 2 additions & 2 deletions Docs/Types/Function.md
@@ -1,5 +1,5 @@
Function {#Function}
============================
Type: Function {#Function}
==========================

Function Methods.

Expand Down
6 changes: 3 additions & 3 deletions Docs/Types/Number.md
@@ -1,7 +1,7 @@
Number {#Number}
================
Type: Number {#Number}
======================

A collection of the Number Object methods.
A collection of the Number Object methods and functions.

### See Also:

Expand Down
6 changes: 4 additions & 2 deletions Docs/Types/Object.md
@@ -1,5 +1,7 @@
Object {#Object}
====================
Type: Object {#Object}
======================

A collection of Object functions.

Function: Object.each {#Object:Object-each}
------------------------------------
Expand Down
6 changes: 3 additions & 3 deletions Docs/Types/String.md
@@ -1,7 +1,7 @@
String {#String}
================
Type: String {#String}
====================

A collection of the String Object prototype methods.
A collection of the String Object methods and functions.

### See Also:

Expand Down

0 comments on commit 2c1f1b6

Please sign in to comment.