Start migration to Mootools 1.3.1

This commit is contained in:
Paulo Veiga
2011-07-26 15:07:53 -03:00
parent 8eb84ce7b3
commit 41c1f47227
55 changed files with 13636 additions and 10601 deletions

View File

@@ -16,8 +16,9 @@
* limitations under the License.
*/
mindplot.commands.AddIconToTopicCommand = mindplot.Command.extend(
mindplot.commands.AddIconToTopicCommand = new Class(
{
Extends:mindplot.Command,
initialize: function(topicId, iconType)
{
core.assert(topicId, 'topicId can not be null');

View File

@@ -16,8 +16,9 @@
* limitations under the License.
*/
mindplot.commands.AddLinkToTopicCommand = mindplot.Command.extend(
mindplot.commands.AddLinkToTopicCommand =new Class(
{
Extends:mindplot.Command,
initialize: function(topicId,url)
{
core.assert(topicId, 'topicId can not be null');

View File

@@ -16,8 +16,9 @@
* limitations under the License.
*/
mindplot.commands.AddNoteToTopicCommand = mindplot.Command.extend(
mindplot.commands.AddNoteToTopicCommand = new Class(
{
Extends:mindplot.Command,
initialize: function(topicId,text)
{
core.assert(topicId, 'topicId can not be null');

View File

@@ -15,8 +15,9 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
mindplot.commands.AddRelationshipCommand = mindplot.Command.extend(
mindplot.commands.AddRelationshipCommand = new Class(
{
Extends:mindplot.Command,
initialize: function(model, mindmap)
{
core.assert(model, 'Relationship model can not be null');

View File

@@ -16,8 +16,9 @@
* limitations under the License.
*/
mindplot.commands.AddTopicCommand = mindplot.Command.extend(
mindplot.commands.AddTopicCommand = new Class(
{
Extends:mindplot.Command,
initialize: function(model, parentTopicId, animated)
{
core.assert(model, 'Model can not be null');

View File

@@ -16,8 +16,9 @@
* limitations under the License.
*/
mindplot.commands.ChangeIconFromTopicCommand = mindplot.Command.extend(
mindplot.commands.ChangeIconFromTopicCommand = new Class(
{
Extends:mindplot.Command,
initialize: function(topicId, iconId, iconType)
{
core.assert(topicId, 'topicId can not be null');

View File

@@ -16,8 +16,9 @@
* limitations under the License.
*/
mindplot.commands.DeleteTopicCommand = mindplot.Command.extend(
mindplot.commands.DeleteTopicCommand = new Class(
{
Extends:mindplot.Command,
initialize: function(topicsIds)
{
core.assert(topicsIds, "topicsIds must be defined");

View File

@@ -16,8 +16,9 @@
* limitations under the License.
*/
mindplot.commands.DragTopicCommand = mindplot.Command.extend(
mindplot.commands.DragTopicCommand = new Class(
{
Extends:mindplot.Command,
initialize: function(topicId)
{
core.assert(topicId, "topicId must be defined");

View File

@@ -16,8 +16,9 @@
* limitations under the License.
*/
mindplot.commands.GenericFunctionCommand = mindplot.Command.extend(
mindplot.commands.GenericFunctionCommand =new Class(
{
Extends:mindplot.Command,
initialize: function(commandFunc,value,topicsIds)
{
core.assert(commandFunc, "commandFunc must be defined");

View File

@@ -15,8 +15,9 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
mindplot.commands.MoveControlPointCommand = mindplot.Command.extend(
mindplot.commands.MoveControlPointCommand = new Class(
{
Extends:mindplot.Command,
initialize: function(ctrlPointController, point)
{
core.assert(ctrlPointController, 'line can not be null');

View File

@@ -16,8 +16,9 @@
* limitations under the License.
*/
mindplot.commands.RemoveIconFromTopicCommand = mindplot.Command.extend(
mindplot.commands.RemoveIconFromTopicCommand = new Class(
{
Extends:mindplot.Command,
initialize: function(topicId, iconModel)
{
core.assert(topicId, 'topicId can not be null');

View File

@@ -16,8 +16,9 @@
* limitations under the License.
*/
mindplot.commands.RemoveLinkFromTopicCommand = mindplot.Command.extend(
mindplot.commands.RemoveLinkFromTopicCommand =new Class(
{
Extends:mindplot.Command,
initialize: function(topicId)
{
core.assert(topicId, 'topicId can not be null');

View File

@@ -16,8 +16,9 @@
* limitations under the License.
*/
mindplot.commands.RemoveNoteFromTopicCommand = mindplot.Command.extend(
mindplot.commands.RemoveNoteFromTopicCommand = new Class(
{
Extends:mindplot.Command,
initialize: function(topicId)
{
core.assert(topicId, 'topicId can not be null');