equal
deleted
inserted
replaced
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 }); |