Created
December 1, 2008 21:59
-
-
Save aristidb/30864 to your computer and use it in GitHub Desktop.
This file contains 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 characters
assert(this === $container); | |
assert($container.$importer.container === $container); | |
this.XML.Document.prototype.print = function print() { print(this.dump()); } |
This file contains 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 characters
var my_global = {}; | |
var importer = new Importer(my_global); | |
assert(importer.container === my_global); | |
importer.load('XML') | |
var doc = my_global.XML.Document(); | |
doc.print(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment