--- a/client/js/main.js Tue Apr 23 22:30:09 2013 +0200
+++ b/client/js/main.js Tue Apr 23 22:53:01 2013 +0200
@@ -19,7 +19,7 @@
/* Declaring the Renkan Namespace Rkns and Default values */
if (typeof Rkns !== "object") {
- Rkns = {}
+ Rkns = {};
}
Rkns.$ = jQuery;
@@ -93,7 +93,7 @@
if (_opts.auto_refresh) {
window.setInterval(function() {
_this.refresh();
- },_opts.auto_refresh)
+ },_opts.auto_refresh);
}
}
};
@@ -138,7 +138,7 @@
} else {
var _tmpl = Rkns._.template('<li class="<%= className %>" data-key="<%= key %>"><%= title %></li>'),
_select = this.$.find(".Rk-Search-List"),
- _input = this.$.find(".Rk-Web-Search-Input")
+ _input = this.$.find(".Rk-Web-Search-Input"),
_form = this.$.find(".Rk-Web-Search-Form");
Rkns._(this.options.search).each(function(_search, _key) {
if (Rkns[_search.type] && Rkns[_search.type].Search) {
@@ -251,7 +251,7 @@
});
});
this.$.find(".Rk-Bins-Search-Form").submit(function() {
- return false
+ return false;
});
};
@@ -300,9 +300,9 @@
_ID_AUTO_INCREMENT : 0,
_ID_BASE : (function(_d) {
- function pad(n){return n<10 ? '0'+n : n}
+ function pad(n){return n<10 ? '0'+n : n;}
function fillrand(n) {
- var _res = ''
+ var _res = '';
for (var i=0; i<n; i++) {
_res += Math.floor(16*Math.random()).toString(16);
}
@@ -319,7 +319,7 @@
var _n = (++this._ID_AUTO_INCREMENT).toString(16),
_base = (typeof _base === "undefined" ? "" : _base + "-" );
while (_n.length < 4) {
- _n = '0' + _n
+ _n = '0' + _n;
}
return _base + this._ID_BASE + '-' + _n;
@@ -350,7 +350,7 @@
this._init.apply(this, Array.prototype.slice.call(arguments, 0));
this._initialized = true;
}
- }
+ };
Rkns._(_class.prototype).extend(_baseClass.prototype);
return _class;