Commit c49841e6 authored by ben hockey's avatar ben hockey

reference json module rather than dojo global

parent 90878227
......@@ -53,7 +53,7 @@ define(["dojo/_base/declare", "dojo/_base/lang", "dojo/_base/json", "dojo/store/
// property if a specific id is to be used.
// returns: Number
var id = options && options.id || object[this.idProperty] || Math.random();
localStorage.setItem(id,dojo.toJson(object));
localStorage.setItem(id, json.toJson(object));
return id;
},
add: function(object, options){
......
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