/** * @requires $ jQuery * @requires _ UnderscoreJS * @requires qs */ (function (/* Object */ ns) { 'use strict'; /** * @alias objNamespace.ObjName * @param {String} id * @param {Object} options * @constructor */ ns.ObjName = function (id, options) { this.construct.apply(this, arguments); }; var fn = ns.ObjName.prototype; fn.construct = function (id, options) { if (!document.getElementById(id)) { throw Error('Can\'t find element with id=' + id); } }; })(qs.defineNS('objNamespace'));