Popup"

This website contains links to software which is either no longer maintained or will be supported only until the end of 2019 (CKFinder 2). For the latest documentation about current CKSource projects, including software like CKEditor 4/CKEditor 5, CKFinder 3, Cloud Services, Letters, Accessibility Checker, please visit the new documentation website.

If you look for an information about very old versions of CKEditor, FCKeditor and CKFinder check also the CKEditor forum, which was closed in 2015. If not, please head to StackOverflow for support.

(New page: TA: I think the lines: InsertVariableCommand.prototype.Execute=function(){ } should actually be: InsertVariableCommand.Execute=function(){ } so as not to mix methods of creating a new ...)
 
 
Line 1: Line 1:
TA:
+
== Code error ==
I think the lines:
+
 
 +
TA: I think the lines:
 +
 
 
  InsertVariableCommand.prototype.Execute=function(){
 
  InsertVariableCommand.prototype.Execute=function(){
 
  }
 
  }
 +
 
should actually be:
 
should actually be:
 +
 
  InsertVariableCommand.Execute=function(){
 
  InsertVariableCommand.Execute=function(){
 
  }
 
  }
so as not to mix methods of creating a new command. Some places create prototypes and register an instance, but this example is acting on an actual function object and registering the command with that object. So the use of "prototype" here is inconsistent.
+
 
 +
so as not to mix methods of creating a new command. Some places create prototypes and register an instance, but this example is acting on an actual function object and registering the command with that object. So the use of "prototype" here is inconsistent.
 +
 
 +
* Corrected, Thanks!

Latest revision as of 15:30, 8 March 2008

Code error

TA: I think the lines:

InsertVariableCommand.prototype.Execute=function(){
}

should actually be:

InsertVariableCommand.Execute=function(){
}

so as not to mix methods of creating a new command. Some places create prototypes and register an instance, but this example is acting on an actual function object and registering the command with that object. So the use of "prototype" here is inconsistent.

  • Corrected, Thanks!
This page was last edited on 8 March 2008, at 15:30.