client/js/full-json.js
changeset 67 d341117f9370
parent 62 f9019462465a
child 105 810a1c1015df
equal deleted inserted replaced
66:9b459e41e2df 67:d341117f9370
     6         _opts.http_method = 'PUT';
     6         _opts.http_method = 'PUT';
     7     }
     7     }
     8     var _load = function() {
     8     var _load = function() {
     9         Rkns.$.getJSON(_opts.url, function(_data) {
     9         Rkns.$.getJSON(_opts.url, function(_data) {
    10             _proj.set(_data);
    10             _proj.set(_data);
    11             _renkan.renderer.autoScale();
       
    12         });
    11         });
    13     }
    12     }
    14     if (!_renkan.read_only) {
    13     if (!_renkan.read_only) {
    15         var _save = function() {
    14         var _save = function() {
    16             var _data = _proj.toJSON();
    15             var _data = _proj.toJSON();