Commit 01620370 authored by François Billioud's avatar François Billioud

little corrections on tools

parent 961fe74b
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
*/ */
UngObject = function() {} UngObject = function() {}
/* return true if this object implements the interface */ /* return true if this object implements the interface */
UngObject.prototype.Implements = function(myInterface) UngObject.prototype.implement = function(myInterface)
{ {
for(var property in myInterface) for(var property in myInterface)
{ {
...@@ -238,13 +238,13 @@ errorMessage = function(message,object) { ...@@ -238,13 +238,13 @@ errorMessage = function(message,object) {
/** /**
* returns the current date (number of ms since 1/1/1970 at 12:00 AM) * returns the current date (number of ms since 1/1/1970 at 12:00 AM)
*/ */
currentTime = function() {return Date.now();} function getCurrentTime() {return Date.now();}
/** /**
* Paste a toolkit at the mouse position * Paste a toolkit at the mouse position
*/ */
Tooltip = function() { Tooltip = function() {
this.visible=false; // La variable i nous dit si la bulle est visible ou non this.visible=false;
} }
Tooltip.prototype = { Tooltip.prototype = {
isVisible: function() {return this.visible;}, isVisible: function() {return this.visible;},
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment