Last active
December 26, 2015 08:19
-
-
Save while0pass/7121603 to your computer and use it in GitHub Desktop.
Revisions
-
while0pass revised this gist
Oct 23, 2013 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,8 @@ ZZZ = document.createElement('script'); ZZZ.src = '//yandex.st/dojo/1.9.1/dojo/dojo.js'; document.body.appendChild(ZZZ); // In firebug one can use ``include`` command instead: // include('//yandex.st/dojo/1.9.1/dojo/dojo.js'); require(["dojox/json/ref"], function(){ window.ZZZ = dojox.json.ref.toJson(ko.toJS(objectWithCircularReferences)); -
while0pass created this gist
Oct 23, 2013 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,10 @@ ZZZ = document.createElement('script'); ZZZ.src = '//yandex.st/dojo/1.9.1/dojo/dojo.js'; document.body.appendChild(ZZZ); require(["dojox/json/ref"], function(){ window.ZZZ = dojox.json.ref.toJson(ko.toJS(objectWithCircularReferences)); }); // Then one can look for "$ref" substring in global ZZZ variable that would // locate circular references.