JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
rename to Peach HTML5 Editor
[peach-html5-editor.git] / parser.coffee
index 509e492..aa7233e 100644 (file)
 #
 # Call it like this:
 #
-#     wheic_parser.parse("<p><b>hi</p>")
+#     peach_parser.parse("<p><b>hi</p>")
 #
 # Or, if you don't want <html><head><body>/etc, do this:
 #
-#     wheic_parser.parse("<p><b>hi</p>", {fragment: "body"})
+#     peach_parser.parse("<p><b>hi</p>", {fragment: "body"})
 #
 # return value is an array of Nodes, see "class Node" below.
 
@@ -80,8 +80,8 @@ if (typeof module) isnt 'undefined' and module.exports?
        exports = module.exports
 else
        context = 'browser'
-       window.wheic_parser = {}
-       exports = window.wheic_parser
+       window.peach_parser = {}
+       exports = window.peach_parser
 
 from_code_point = (x) ->
        if String.fromCodePoint?