Skip to content
This repository has been archived by the owner on Oct 27, 2019. It is now read-only.

Commit

Permalink
Started ObservableHash
Browse files Browse the repository at this point in the history
  • Loading branch information
subtleGradient committed Oct 21, 2008
1 parent 2a747ad commit 8181ea4
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 17 deletions.
6 changes: 3 additions & 3 deletions Demos/PluginName.html → Demos/ObservableHash.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<title>PluginName</title>
<title>ObservableHash</title>
</head>
<body>

Expand All @@ -12,10 +12,10 @@
</p>

<script type="text/javascript" src="mootools.js"> </script>
<script src="../Source/Plugins/PluginName.js" type="text/javascript" charset="utf-8"></script>
<script src="../Source/Plugins/ObservableHash.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript" charset="utf-8">

var myThing = new PluginName({
var myThing = new ObservableHash({
option1: 1,
option8: true
});
Expand Down
12 changes: 6 additions & 6 deletions Docs/PluginName.md → Docs/ObservableHash.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
Class: PluginName {#PluginName}
Class: ObservableHash {#ObservableHash}
===============================

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

### Notes:

- PluginName requires the page to be in [Standards Mode](http://hsivonen.iki.fi/doctype/).
- ObservableHash requires the page to be in [Standards Mode](http://hsivonen.iki.fi/doctype/).

### Implements:

Expand All @@ -14,7 +14,7 @@ Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor

### Syntax:

var myThing = new PluginName([options]);
var myThing = new ObservableHash([options]);

### Arguments:

Expand All @@ -34,7 +34,7 @@ Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor

### Returns:

* (*object*) A new PluginName instance.
* (*object*) A new ObservableHash instance.

## Events:

Expand All @@ -53,11 +53,11 @@ Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor

### Examples:

var myThing = new PluginName({
var myThing = new ObservableHash({
optionl: 1,
option8: true
});

### Demos:

- PluginName - <http://demos.mootools.net/PluginName>
- ObservableHash - <http://demos.mootools.net/ObservableHash>
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor
Getting Started
---------------

1. First, rename the PluginName.js files to whatever the name of your plugin is
2. Replace every occurrence of "PluginName" with your plugins actual name
1. First, rename the ObservableHash.js files to whatever the name of your plugin is
2. Replace every occurrence of "ObservableHash" with your plugins actual name
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Script: PluginName.js
Script: ObservableHash.js
MooTools - My Object Oriented JavaScript Tools.
License:
Expand All @@ -9,7 +9,7 @@ Copyright:
Copyright (c) 2006-2007 [copyright holders](http://).
*/
var PluginName = new Class({
var ObservableHash = new Class({

Implements: [Options, Events],

Expand Down
4 changes: 2 additions & 2 deletions Specs/Assets/Scripts/Builder.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ var Builder = {
scripts: {
source: {
'../Demos': ['mootools'],
'Plugins' : ['PluginName']
'Plugins' : ['ObservableHash']
},

specs: {
'Plugins' : ['PluginName']
'Plugins' : ['ObservableHash']
}
},

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ License:
MIT-style license.
*/

describe('PluginName', {
describe('ObservableHash', {

'before all': function(){
},
Expand Down
2 changes: 1 addition & 1 deletion scripts.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"Plugin Type": {
"PluginName": {
"ObservableHash": {
"deps": ["None"],
"desc": "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."
}
Expand Down

0 comments on commit 8181ea4

Please sign in to comment.