Author: fschulze
Date: Sun Feb 25 19:43:18 2007
New Revision: 39390
Modified:
kukit/kukit.js/trunk/kukit/dom.js
kukit/kukit.js/trunk/kukit/errors.js
kukit/kukit.js/trunk/kukit/eventreg.js
kukit/kukit.js/trunk/kukit/forms.js
kukit/kukit.js/trunk/kukit/kssparser.js
kukit/kukit.js/trunk/kukit/kukit.js
kukit/kukit.js/trunk/kukit/resourcedata.js
Log:
Fixes after running jslint.
Modified: kukit/kukit.js/trunk/kukit/dom.js
==============================================================================
--- kukit/kukit.js/trunk/kukit/dom.js (original)
+++ kukit/kukit.js/trunk/kukit/dom.js Sun Feb 25 19:43:18 2007
@@ -324,7 +324,7 @@
if (doc.document) {
doc = doc.document;
}
- return doc
+ return doc;
};
kukit.dom.EmbeddedContentLoadedScheduler.prototype.check = function() {
Modified: kukit/kukit.js/trunk/kukit/errors.js
==============================================================================
--- kukit/kukit.js/trunk/kukit/errors.js (original)
+++ kukit/kukit.js/trunk/kukit/errors.js Sun Feb 25 19:43:18 2007
@@ -61,7 +61,7 @@
// show sensible error on IE
err.toString = function () {
return this.name + ': ' + this.message;
- }
+ };
}
return err;
};
@@ -81,7 +81,7 @@
var message = 'Explicit error';
var kw = this.__superinit__(name, message);
kw.errorcommand = errorcommand;
- return kw
+ return kw;
};
kukit.err.ResponseParsingError =
kukit.err.exceptionFactory('ResponseParsingError');
@@ -91,7 +91,7 @@
kukit.err.CommandExecutionError.prototype.__init__ = function(name, e,
command) {
var kw = this.__superinit__(name, '');
kw.message = 'Command "' + command.name + '": ' + e.toString();
- return kw
+ return kw;
};
kukit.err.rd = {};
@@ -106,7 +106,7 @@
kw.eventname = eventname;
kw.eventnamespace = eventnamespace;
kw.message = kw.message + ' when binding event name "' + eventname + '" on
namespace "' + eventnamespace + '"';
- return kw
+ return kw;
};
kukit.err.tk = {};
Modified: kukit/kukit.js/trunk/kukit/eventreg.js
==============================================================================
--- kukit/kukit.js/trunk/kukit/eventreg.js (original)
+++ kukit/kukit.js/trunk/kukit/eventreg.js Sun Feb 25 19:43:18 2007
@@ -321,8 +321,8 @@
kukit.er.EventBinder_makeFuncToBind = function(name, node) {
var executor = new kukit.er.LateBinder(this, name, node);
return function() {
- executor.executeActions()
- }
+ executor.executeActions();
+ };
};
kukit.er.LateBinder = function(binderinstance, name, node) {
@@ -437,7 +437,7 @@
// Get an event.
var binderinfo = this.info[id];
if (typeof(binderinfo) == 'undefined') {
- throw 'Event with id "' + id + '" not found.'
+ throw 'Event with id "' + id + '" not found.';
}
return binderinfo;
};
@@ -449,7 +449,7 @@
var id = kukit.rd.makeId(namespace, classname);
var binderinfo = this.info[id];
if (typeof(binderinfo) == 'undefined') {
- throw 'Singleton event with namespace "' + namespace + '" and (event)
name "' + name + '" not found.'
+ throw 'Singleton event with namespace "' + namespace + '" and (event)
name "' + name + '" not found.';
}
return binderinfo;
};
@@ -489,7 +489,7 @@
};
kukit.er.BinderInfo.prototype.getBinderInstance = function () {
- return this.binderinstance
+ return this.binderinstance;
};
kukit.er.BinderInfo.prototype.startBindingPhase = function () {
Modified: kukit/kukit.js/trunk/kukit/forms.js
==============================================================================
--- kukit/kukit.js/trunk/kukit/forms.js (original)
+++ kukit/kukit.js/trunk/kukit/forms.js Sun Feb 25 19:43:18 2007
@@ -29,9 +29,9 @@
// Prefix constants for dict marshalling,
// pattern: %s(dictprefix)%(name)s%(dictseparator)s%(key)s%(dictpostfix)s
// XXX this should be settable
-kukit.fo.dictprefix = ''
-kukit.fo.dictseparator = '.'
-kukit.fo.dictpostfix = ':record'
+kukit.fo.dictprefix = '';
+kukit.fo.dictseparator = '.';
+kukit.fo.dictpostfix = ':record';
/*
* class FormQueryElem
Modified: kukit/kukit.js/trunk/kukit/kssparser.js
==============================================================================
--- kukit/kukit.js/trunk/kukit/kssparser.js (original)
+++ kukit/kukit.js/trunk/kukit/kssparser.js Sun Feb 25 19:43:18 2007
@@ -216,7 +216,7 @@
this.emitError('action-xxx: parameter producers are not allowed as
value, key "'
+ key + '"');
}
- var atab = {'server': 'S', 'client': 'C', 'cancel': 'X'}
+ var atab = {'server': 'S', 'client': 'C', 'cancel': 'X'};
var actionType = atab[splitkey[1]];
if (! actionType) {
this.emitError('action-xxx: key must be action-server or
action-client or action-cancel, key "'
Modified: kukit/kukit.js/trunk/kukit/kukit.js
==============================================================================
--- kukit/kukit.js/trunk/kukit/kukit.js (original)
+++ kukit/kukit.js/trunk/kukit/kukit.js Sun Feb 25 19:43:18 2007
@@ -99,7 +99,7 @@
return true;
}
return false;
-}
+};
kukit.Engine.prototype.setupEvents = function(in_nodes) {
var self = this;
@@ -241,7 +241,7 @@
// Subsequent activations will not delete the already set up engine.
// Subsequent activations may happen, if more event handlers are set up,
// and the first one will do the job, the later ones are ignored.
- kukit.log('bootstrap')
+ kukit.log('bootstrap');
engine.initializeRules();
};
@@ -252,7 +252,7 @@
// Subsequent activations may happen, if more event handlers are set up,
// and the first one will do the job, the later ones are ignored.
engine.initializedOnDOMLoad = true;
- kukit.log('bootstrap from DOMLoad')
+ kukit.log('bootstrap from DOMLoad');
engine.initializeRules();
};
Modified: kukit/kukit.js/trunk/kukit/resourcedata.js
==============================================================================
--- kukit/kukit.js/trunk/kukit/resourcedata.js (original)
+++ kukit/kukit.js/trunk/kukit/resourcedata.js Sun Feb 25 19:43:18 2007
@@ -68,7 +68,7 @@
kukit.rd.KssSelector.prototype.setIdAndClass = function() {
// Sets up id and class on the selector, based on registration info
- this.classname = kukit.eventsGlobalRegistry.get(this.namespace,
this.name).classname
+ this.classname = kukit.eventsGlobalRegistry.get(this.namespace,
this.name).classname;
if (this.id == null) {
// singleton for class
this.id = kukit.rd.makeId(this.namespace, this.classname);
_______________________________________________
Kukit-checkins mailing list
[email protected]
http://codespeak.net/mailman/listinfo/kukit-checkins