Skip to content

Commit 29becc0

Browse files
author
Kitson Kelly
committed
Update name of package
1 parent 0edb7a3 commit 29becc0

File tree

4 files changed

+22
-29
lines changed

4 files changed

+22
-29
lines changed

README.rst

+16-23
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
.. _dojo-controller/README:
22

3-
========================
4-
dojo-controller Overview
5-
========================
3+
===================
4+
controller Overview
5+
===================
66

77
.. contents ::
88
:depth: 2
99
10-
**dojo-controller** is a Dojo based package that implements the concepts of Commands and Actions in order to allow
10+
**controller** is a Dojo based package that implements the concepts of Commands and Actions in order to allow
1111
developers to easily abstract and centralise their control code in an application.
1212

1313
This code is based on modules from `Maqetta <http://maqetta.org/>`_.
1414

15-
dojo-controller/command
16-
=======================
15+
controller/command
16+
==================
1717

1818
This sub-package provides the modules that abstract the concept of "commands".
1919

20-
dojo-controller/command/Command
21-
-------------------------------
20+
controller/command/Command
21+
--------------------------
2222

2323
An object that allows abstraction and management of "command" type logic. Full documentation can be found here:
2424
`dojo-controller/command/Command <docs/command/Command>`_.
@@ -45,8 +45,8 @@ Here is an example::
4545
console.log(output);
4646
});
4747

48-
dojo-controller/command/CommandStack
49-
------------------------------------
48+
controller/command/CommandStack
49+
-------------------------------
5050

5151
An object that handles execution of commands and puts them into a queue which then can be undone and redone as required.
5252

@@ -85,8 +85,8 @@ Here is an example::
8585
});
8686

8787

88-
dojo-controller/command/CompoundCommand
89-
---------------------------------------
88+
controller/command/CompoundCommand
89+
----------------------------------
9090

9191
A command that has several sub-commands that need can be executed and undone.
9292

@@ -123,11 +123,11 @@ Here is an example::
123123
console.log(output);
124124
})
125125

126-
dojo-controller/action
127-
======================
126+
controller/action
127+
=================
128128

129-
dojo-controller/action/Action
130-
-----------------------------
129+
controller/action/Action
130+
------------------------
131131

132132
This class bridges the gap between behaviour and visual UI elements. It binds with Dijit/widgets and controls their configuration. It also provides functionality to manage Commands and a CommandStack to provide further centralised management of behaviour code.
133133

@@ -163,10 +163,3 @@ Here is an example::
163163
action.bind(button);
164164
});
165165

166-
167-
dojo-controller/Attributed
168-
==========================
169-
170-
An class that combines ``dojo/Evented`` and ``dojo/Stateful`` and then adds in the concept of attributes that have
171-
auto-magically recognised getters and setters. This is similar to the attribute getter and setter functionality in
172-
``dijit/_WidgetBase``.
File renamed without changes.

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "dojo-controller",
2+
"name": "controller",
33
"version": "1.8.0dev",
44
"main": "main",
55
"dependencies": {
@@ -16,6 +16,6 @@
1616
"url": "http://trac.dojotoolkit.org/browser/dojo/trunk/LICENSE#L13"
1717
}
1818
],
19-
"bugs": "https://github.com/kitsonk/dojo-controller",
20-
"dojoBuild": "dojo-controller.profile.js"
19+
"bugs": "https://github.com/kitsonk/controller",
20+
"dojoBuild": "controller.profile.js"
2121
}

tests/runTests.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<!DOCTYPE html>
22
<html>
33
<head>
4-
<title>dojo-controller D.O.H. Unit Test Runner</title>
5-
<meta http-equiv="REFRESH" content="0;url=../../util/doh/runner.html?test=dojo-controller/tests/module">
4+
<title>controller D.O.H. Unit Test Runner</title>
5+
<meta http-equiv="REFRESH" content="0;url=../../util/doh/runner.html?test=controller/tests/module">
66
</head>
77
<body>
88
Redirecting to D.O.H runner.
99
</body>
10-
</HTML>
10+
</HTML>

0 commit comments

Comments
 (0)