client/js/main.js
changeset 418 eb5f2313ce2b
parent 392 68ff332b6b07
child 426 05ed0d95a511
equal deleted inserted replaced
417:e98756860daa 418:eb5f2313ce2b
    95 var Renkan = Rkns.Renkan = function(_opts) {
    95 var Renkan = Rkns.Renkan = function(_opts) {
    96     var _this = this;
    96     var _this = this;
    97 
    97 
    98     Rkns.__renkans.push(this);
    98     Rkns.__renkans.push(this);
    99 
    99 
   100     this.options = _.defaults(_opts, Rkns.defaults);
   100     this.options = _.defaults(_opts, Rkns.defaults, {templates: renkanJST});
   101 
   101 
   102     _(this.options.property_files).each(function(f) {
   102     _(this.options.property_files).each(function(f) {
   103         Rkns.$.getJSON(f, function(data) {
   103         Rkns.$.getJSON(f, function(data) {
   104             _this.options.properties = _this.options.properties.concat(data);
   104             _this.options.properties = _this.options.properties.concat(data);
   105         });
   105         });