Commit 61dc52fb authored by Ivan Tyagov's avatar Ivan Tyagov

Use strict mode.

parent be8d5169
/*global console, require, $, localStorage, document */ /*global console, require, $, localStorage, document */
"use strict";
/* /*
* RenderJs - Generic Gadget library renderer. * RenderJs - Generic Gadget library renderer.
...@@ -28,6 +29,7 @@ var RenderJs = (function () { ...@@ -28,6 +29,7 @@ var RenderJs = (function () {
return { return {
bootstrap: function (root) { bootstrap: function (root) {
/* initial load application gadget */ /* initial load application gadget */
var gadget_id;
gadget_id = root.attr("id"); gadget_id = root.attr("id");
if (gadget_id!==undefined) { if (gadget_id!==undefined) {
// bootstart root gadget only if it is indeed a gadget // bootstart root gadget only if it is indeed a gadget
......
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