├── .gitignore ├── README ├── README.md ├── lib ├── backbone-redis-server.js ├── backbone-store-sync-override.js ├── dirty-store.js ├── redis-store-sync.js └── services.js ├── node_modules ├── backbone-redis │ ├── .gitignore │ ├── README.md │ ├── browser │ │ ├── backbone.redis.js │ │ └── index.js │ ├── examples │ │ └── todos │ │ │ ├── destroy.png │ │ │ ├── index.html │ │ │ ├── server.js │ │ │ ├── todos.css │ │ │ └── todos.js │ ├── index.js │ ├── lib │ │ ├── backbone-redis.js │ │ └── redis-store-sync.js │ ├── license │ ├── package.json │ └── vendor │ │ ├── backbone.js │ │ ├── json2.js │ │ └── underscore.js ├── backbone │ ├── .gitignore │ ├── LICENSE │ ├── README │ ├── Rakefile │ ├── backbone.js │ ├── docs │ │ ├── backbone-localstorage.html │ │ ├── backbone.html │ │ ├── docco.css │ │ ├── images │ │ │ ├── arrows.png │ │ │ ├── backbone-mobile.png │ │ │ ├── backbone.png │ │ │ ├── background.png │ │ │ ├── baroque.jpg │ │ │ ├── basecamp-mobile.png │ │ │ ├── bittorrent.jpg │ │ │ ├── blossom.png │ │ │ ├── chop.png │ │ │ ├── cloudapp.png │ │ │ ├── dc-workspace.png │ │ │ ├── decide.png │ │ │ ├── flow.png │ │ │ ├── fluxiom.png │ │ │ ├── groupon.png │ │ │ ├── hotel-tonight.png │ │ │ ├── instagreat.png │ │ │ ├── menagerievet.png │ │ │ ├── pandora.png │ │ │ ├── quietwrite.png │ │ │ ├── quoteroller.png │ │ │ ├── seatgeek.png │ │ │ ├── soundcloud.png │ │ │ ├── substance.png │ │ │ ├── test-kitchen.png │ │ │ ├── tilemill.png │ │ │ ├── todos.png │ │ │ ├── trajectory.png │ │ │ ├── trapit.png │ │ │ └── tzigla.png │ │ ├── jsl.conf │ │ └── todos.html │ ├── examples │ │ ├── backbone-localstorage.js │ │ └── todos │ │ │ ├── destroy.png │ │ │ ├── index.html │ │ │ ├── todos.css │ │ │ └── todos.js │ ├── index.html │ ├── index.js │ ├── package.json │ └── test │ │ ├── collection.js │ │ ├── events.js │ │ ├── model.coffee │ │ ├── model.js │ │ ├── noconflict.js │ │ ├── router.js │ │ ├── speed.js │ │ ├── sync.js │ │ ├── test-zepto.html │ │ ├── test.html │ │ ├── vendor │ │ ├── jquery-1.5.js │ │ ├── jslitmus.js │ │ ├── json2.js │ │ ├── qunit.css │ │ ├── qunit.js │ │ ├── underscore-1.1.6.js │ │ └── zepto-0.6.js │ │ └── view.js ├── fileify │ ├── .npmignore │ ├── README.markdown │ ├── browser │ │ └── files.js │ ├── example │ │ ├── jade │ │ │ ├── js │ │ │ │ ├── main.js │ │ │ │ └── render.js │ │ │ ├── server.js │ │ │ ├── static │ │ │ │ └── site.css │ │ │ └── views │ │ │ │ ├── index.jade │ │ │ │ └── msg.jade │ │ └── simple │ │ │ ├── files │ │ │ ├── bar.sh │ │ │ └── foo.txt │ │ │ ├── index.html │ │ │ └── server.js │ ├── index.js │ ├── node_modules │ │ ├── findit │ │ │ ├── README.markdown │ │ │ ├── examples │ │ │ │ ├── callback.js │ │ │ │ ├── emitter.js │ │ │ │ └── sync.js │ │ │ ├── index.js │ │ │ ├── package.json │ │ │ └── test │ │ │ │ ├── cb.js │ │ │ │ ├── cycle.js │ │ │ │ ├── foo.js │ │ │ │ ├── foo │ │ │ │ ├── a │ │ │ │ │ ├── b │ │ │ │ │ │ ├── c │ │ │ │ │ │ │ └── w │ │ │ │ │ │ └── z │ │ │ │ │ └── y │ │ │ │ └── x │ │ │ │ └── module.js │ │ └── seq │ │ │ ├── .npmignore │ │ │ ├── README.markdown │ │ │ ├── examples │ │ │ ├── join.js │ │ │ ├── parseq.coffee │ │ │ ├── parseq.js │ │ │ ├── stat_all.coffee │ │ │ └── stat_all.js │ │ │ ├── index.js │ │ │ ├── node_modules │ │ │ ├── chainsaw │ │ │ │ ├── .npmignore │ │ │ │ ├── README.markdown │ │ │ │ ├── examples │ │ │ │ │ ├── add_do.js │ │ │ │ │ └── prompt.js │ │ │ │ ├── index.js │ │ │ │ ├── node_modules │ │ │ │ │ └── traverse │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ ├── README.markdown │ │ │ │ │ │ ├── examples │ │ │ │ │ │ ├── json.js │ │ │ │ │ │ ├── leaves.js │ │ │ │ │ │ ├── negative.js │ │ │ │ │ │ └── stringify.js │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ └── test │ │ │ │ │ │ ├── circular.js │ │ │ │ │ │ ├── date.js │ │ │ │ │ │ ├── equal.js │ │ │ │ │ │ ├── instance.js │ │ │ │ │ │ ├── interface.js │ │ │ │ │ │ ├── json.js │ │ │ │ │ │ ├── leaves.js │ │ │ │ │ │ ├── mutability.js │ │ │ │ │ │ ├── negative.js │ │ │ │ │ │ ├── obj.js │ │ │ │ │ │ ├── stop.js │ │ │ │ │ │ ├── stringify.js │ │ │ │ │ │ └── super_deep.js │ │ │ │ ├── package.json │ │ │ │ └── test │ │ │ │ │ └── chainsaw.js │ │ │ └── hashish │ │ │ │ ├── README.markdown │ │ │ │ ├── examples │ │ │ │ ├── chain.js │ │ │ │ └── map.js │ │ │ │ ├── index.js │ │ │ │ ├── node_modules │ │ │ │ └── traverse │ │ │ │ │ ├── .npmignore │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.markdown │ │ │ │ │ ├── examples │ │ │ │ │ ├── json.js │ │ │ │ │ ├── leaves.js │ │ │ │ │ ├── negative.js │ │ │ │ │ ├── scrub.js │ │ │ │ │ └── stringify.js │ │ │ │ │ ├── index.js │ │ │ │ │ ├── package.json │ │ │ │ │ └── test │ │ │ │ │ ├── circular.js │ │ │ │ │ ├── date.js │ │ │ │ │ ├── equal.js │ │ │ │ │ ├── instance.js │ │ │ │ │ ├── interface.js │ │ │ │ │ ├── json.js │ │ │ │ │ ├── keys.js │ │ │ │ │ ├── leaves.js │ │ │ │ │ ├── mutability.js │ │ │ │ │ ├── negative.js │ │ │ │ │ ├── obj.js │ │ │ │ │ ├── siblings.js │ │ │ │ │ ├── stop.js │ │ │ │ │ ├── stringify.js │ │ │ │ │ ├── subexpr.js │ │ │ │ │ └── super_deep.js │ │ │ │ ├── package.json │ │ │ │ └── test │ │ │ │ ├── hash.js │ │ │ │ └── property.js │ │ │ ├── package.json │ │ │ └── test │ │ │ ├── readdir.js │ │ │ ├── seq.js │ │ │ └── seq_.js │ ├── package.json │ └── test │ │ ├── static.js │ │ ├── static │ │ ├── bar.sh │ │ ├── baz │ │ │ └── quux.js │ │ └── foo.txt │ │ ├── twice.js │ │ ├── two │ │ └── a.txt │ │ ├── watch.js │ │ └── watch │ │ ├── subdir │ │ └── z.txt │ │ ├── x.txt │ │ └── y.txt ├── jquery │ ├── .gitmodules │ ├── Makefile │ ├── README.md │ ├── dist │ │ ├── node-jquery.js │ │ └── node-jquery.min.js │ ├── jquery │ │ ├── .gitattributes │ │ ├── .gitignore │ │ ├── GPL-LICENSE.txt │ │ ├── MIT-LICENSE.txt │ │ ├── Makefile │ │ ├── README.md │ │ ├── build │ │ │ ├── jslint-check.js │ │ │ ├── lib │ │ │ │ ├── jslint.js │ │ │ │ ├── parse-js.js │ │ │ │ ├── process.js │ │ │ │ └── squeeze-more.js │ │ │ ├── post-compile.js │ │ │ └── uglify.js │ │ ├── speed │ │ │ ├── benchmark.js │ │ │ ├── benchmarker.css │ │ │ ├── benchmarker.js │ │ │ ├── closest.html │ │ │ ├── css.html │ │ │ ├── event.html │ │ │ ├── filter.html │ │ │ ├── find.html │ │ │ ├── index.html │ │ │ ├── jquery-basis.js │ │ │ └── slice.vs.concat.html │ │ ├── src │ │ │ ├── ajax.js │ │ │ ├── ajax │ │ │ │ ├── jsonp.js │ │ │ │ ├── script.js │ │ │ │ └── xhr.js │ │ │ ├── attributes.js │ │ │ ├── core.js │ │ │ ├── css.js │ │ │ ├── data.js │ │ │ ├── dimensions.js │ │ │ ├── effects.js │ │ │ ├── event.js │ │ │ ├── intro.js │ │ │ ├── manipulation.js │ │ │ ├── offset.js │ │ │ ├── outro.js │ │ │ ├── queue.js │ │ │ ├── sizzle-jquery.js │ │ │ ├── support.js │ │ │ └── traversing.js │ │ ├── test │ │ │ ├── csp.php │ │ │ ├── data │ │ │ │ ├── atom+xml.php │ │ │ │ ├── badjson.js │ │ │ │ ├── dashboard.xml │ │ │ │ ├── echoData.php │ │ │ │ ├── echoQuery.php │ │ │ │ ├── errorWithText.php │ │ │ │ ├── etag.php │ │ │ │ ├── headers.php │ │ │ │ ├── if_modified_since.php │ │ │ │ ├── iframe.html │ │ │ │ ├── json.php │ │ │ │ ├── json_obj.js │ │ │ │ ├── jsonp.php │ │ │ │ ├── name.html │ │ │ │ ├── name.php │ │ │ │ ├── offset │ │ │ │ │ ├── absolute.html │ │ │ │ │ ├── body.html │ │ │ │ │ ├── fixed.html │ │ │ │ │ ├── relative.html │ │ │ │ │ ├── scroll.html │ │ │ │ │ ├── static.html │ │ │ │ │ └── table.html │ │ │ │ ├── params_html.php │ │ │ │ ├── readywaitasset.js │ │ │ │ ├── readywaitloader.js │ │ │ │ ├── script.php │ │ │ │ ├── test.html │ │ │ │ ├── test.js │ │ │ │ ├── test.php │ │ │ │ ├── test2.html │ │ │ │ ├── test3.html │ │ │ │ ├── testinit.js │ │ │ │ ├── testrunner.js │ │ │ │ ├── testsuite.css │ │ │ │ ├── text.php │ │ │ │ ├── ua.txt │ │ │ │ ├── with_fries.xml │ │ │ │ └── with_fries_over_jsonp.php │ │ │ ├── delegatetest.html │ │ │ ├── index.html │ │ │ ├── localfile.html │ │ │ ├── networkerror.html │ │ │ ├── polluted.php │ │ │ ├── readywait.html │ │ │ ├── unit │ │ │ │ ├── ajax.js │ │ │ │ ├── attributes.js │ │ │ │ ├── core.js │ │ │ │ ├── css.js │ │ │ │ ├── data.js │ │ │ │ ├── dimensions.js │ │ │ │ ├── effects.js │ │ │ │ ├── event.js │ │ │ │ ├── manipulation.js │ │ │ │ ├── offset.js │ │ │ │ ├── queue.js │ │ │ │ └── traversing.js │ │ │ └── xhtml.php │ │ └── version.txt │ ├── node_modules │ │ ├── htmlparser │ │ │ ├── CHANGELOG │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── a │ │ │ ├── b │ │ │ ├── c │ │ │ ├── json2.js │ │ │ ├── lib │ │ │ │ ├── htmlparser.js │ │ │ │ ├── htmlparser.min.js │ │ │ │ ├── node-htmlparser.js │ │ │ │ └── node-htmlparser.min.js │ │ │ ├── libxmljs.node │ │ │ ├── newparser.js │ │ │ ├── node-htmlparser.old.js │ │ │ ├── package.json │ │ │ ├── profile │ │ │ ├── profile.getelement.js │ │ │ ├── profile.getelement.txt │ │ │ ├── profile.js │ │ │ ├── profileresults.txt │ │ │ ├── pulls │ │ │ │ └── node-htmlparser │ │ │ │ │ ├── CHANGELOG │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── json2.js │ │ │ │ │ ├── lib │ │ │ │ │ ├── node-htmlparser.js │ │ │ │ │ └── node-htmlparser.min.js │ │ │ │ │ ├── package.json │ │ │ │ │ ├── profile.js │ │ │ │ │ ├── runtests.html │ │ │ │ │ ├── runtests.js │ │ │ │ │ ├── runtests.min.html │ │ │ │ │ ├── runtests.min.js │ │ │ │ │ ├── snippet.js │ │ │ │ │ ├── tests │ │ │ │ │ ├── 01-basic.js │ │ │ │ │ ├── 02-single_tag_1.js │ │ │ │ │ ├── 03-single_tag_2.js │ │ │ │ │ ├── 04-unescaped_in_script.js │ │ │ │ │ ├── 05-tags_in_comment.js │ │ │ │ │ ├── 06-comment_in_script.js │ │ │ │ │ ├── 07-unescaped_in_style.js │ │ │ │ │ ├── 08-extra_spaces_in_tag.js │ │ │ │ │ ├── 09-unquoted_attrib.js │ │ │ │ │ ├── 10-singular_attribute.js │ │ │ │ │ ├── 11-text_outside_tags.js │ │ │ │ │ ├── 12-text_only.js │ │ │ │ │ ├── 13-comment_in_text.js │ │ │ │ │ ├── 14-comment_in_text_in_script.js │ │ │ │ │ ├── 15-non-verbose.js │ │ │ │ │ ├── 16-ignore_whitespace.js │ │ │ │ │ ├── 17-xml_namespace.js │ │ │ │ │ ├── 18-enforce_empty_tags.js │ │ │ │ │ ├── 19-ignore_empty_tags.js │ │ │ │ │ ├── 20-rss.js │ │ │ │ │ └── 21-atom.js │ │ │ │ │ └── utils_example.js │ │ │ ├── rssbug.js │ │ │ ├── rssbug.rss │ │ │ ├── runtests.html │ │ │ ├── runtests.js │ │ │ ├── runtests.min.html │ │ │ ├── runtests.min.js │ │ │ ├── snippet.js │ │ │ ├── testdata │ │ │ │ ├── api.html │ │ │ │ ├── getelement.html │ │ │ │ └── trackerchecker.html │ │ │ ├── tests │ │ │ │ ├── 01-basic.js │ │ │ │ ├── 02-single_tag_1.js │ │ │ │ ├── 03-single_tag_2.js │ │ │ │ ├── 04-unescaped_in_script.js │ │ │ │ ├── 05-tags_in_comment.js │ │ │ │ ├── 06-comment_in_script.js │ │ │ │ ├── 07-unescaped_in_style.js │ │ │ │ ├── 08-extra_spaces_in_tag.js │ │ │ │ ├── 09-unquoted_attrib.js │ │ │ │ ├── 10-singular_attribute.js │ │ │ │ ├── 11-text_outside_tags.js │ │ │ │ ├── 12-text_only.js │ │ │ │ ├── 13-comment_in_text.js │ │ │ │ ├── 14-comment_in_text_in_script.js │ │ │ │ ├── 15-non-verbose.js │ │ │ │ ├── 16-ignore_whitespace.js │ │ │ │ ├── 17-xml_namespace.js │ │ │ │ ├── 18-enforce_empty_tags.js │ │ │ │ ├── 19-ignore_empty_tags.js │ │ │ │ ├── 20-rss.js │ │ │ │ ├── 21-atom.js │ │ │ │ └── 22-position_data.js │ │ │ └── utils_example.js │ │ └── jsdom │ │ │ ├── .gitignore │ │ │ ├── LICENSE.txt │ │ │ ├── README.md │ │ │ ├── benchmark │ │ │ ├── mark.js │ │ │ └── stats.json │ │ │ ├── changelog │ │ │ ├── example │ │ │ ├── browser │ │ │ │ └── browser.js │ │ │ ├── ender │ │ │ │ ├── ender.js │ │ │ │ └── run.js │ │ │ ├── jquery │ │ │ │ ├── jquery.js │ │ │ │ └── run.js │ │ │ ├── node-xml │ │ │ │ ├── example.xml │ │ │ │ └── run.js │ │ │ ├── pure │ │ │ │ ├── pure.js │ │ │ │ ├── run.js │ │ │ │ ├── sax-test.js │ │ │ │ └── sax.js │ │ │ └── sizzle │ │ │ │ ├── run.js │ │ │ │ ├── sax.js │ │ │ │ └── sizzle.js │ │ │ ├── lib │ │ │ ├── jsdom.js │ │ │ └── jsdom │ │ │ │ ├── browser │ │ │ │ ├── domtohtml.js │ │ │ │ ├── htmlencoding.js │ │ │ │ ├── htmltodom.js │ │ │ │ └── index.js │ │ │ │ ├── level1 │ │ │ │ └── core.js │ │ │ │ ├── level2 │ │ │ │ ├── core.js │ │ │ │ ├── events.js │ │ │ │ ├── html.js │ │ │ │ ├── index.js │ │ │ │ ├── languages │ │ │ │ │ └── javascript.js │ │ │ │ └── style.js │ │ │ │ ├── level3 │ │ │ │ ├── core.js │ │ │ │ ├── events.js │ │ │ │ ├── html.js │ │ │ │ ├── index.js │ │ │ │ ├── ls.js │ │ │ │ └── xpath.js │ │ │ │ └── selectors │ │ │ │ ├── index.js │ │ │ │ └── sizzle.js │ │ │ ├── package.json │ │ │ ├── status.json │ │ │ └── test │ │ │ ├── DOMTestCase.js │ │ │ ├── LICENSE.txt │ │ │ ├── all.js │ │ │ ├── browser │ │ │ ├── files │ │ │ │ ├── js │ │ │ │ │ └── jquery.js │ │ │ │ └── site.html │ │ │ └── index.js │ │ │ ├── collector.php │ │ │ ├── jsdom │ │ │ ├── files │ │ │ │ ├── 163.js │ │ │ │ ├── 179.js │ │ │ │ ├── ctx-script1.js │ │ │ │ ├── ctx-script2.js │ │ │ │ ├── ctx-test.html │ │ │ │ ├── ender-qwery.js │ │ │ │ ├── env.html │ │ │ │ ├── hello.js │ │ │ │ ├── iframe.html │ │ │ │ ├── jquery.js │ │ │ │ └── timer_in_context.js │ │ │ ├── index.js │ │ │ └── leak.js │ │ │ ├── level1 │ │ │ ├── core.js │ │ │ ├── core │ │ │ │ └── files │ │ │ │ │ ├── extra.xml.js │ │ │ │ │ ├── hc_nodtdstaff.xml.js │ │ │ │ │ ├── hc_staff.xml.js │ │ │ │ │ └── staff.xml.js │ │ │ ├── html.js │ │ │ ├── html │ │ │ │ └── files │ │ │ │ │ ├── hc_nodtdstaff.html.js │ │ │ │ │ └── hc_staff.html.js │ │ │ ├── svg.js │ │ │ └── svg │ │ │ │ └── files │ │ │ │ ├── hc_nodtdstaff.svg.js │ │ │ │ ├── hc_staff.svg.js │ │ │ │ └── staff.svg.js │ │ │ ├── level2 │ │ │ ├── core.js │ │ │ ├── core │ │ │ │ └── files │ │ │ │ │ ├── hc_staff.xml.js │ │ │ │ │ ├── orig │ │ │ │ │ ├── hc_staff.html │ │ │ │ │ ├── hc_staff.svg │ │ │ │ │ ├── hc_staff.xhtml │ │ │ │ │ ├── hc_staff.xml │ │ │ │ │ ├── index.html │ │ │ │ │ ├── internalSubset01.js │ │ │ │ │ ├── nodtdstaff.svg │ │ │ │ │ ├── nodtdstaff.xml │ │ │ │ │ ├── robots.txt │ │ │ │ │ ├── staff.dtd │ │ │ │ │ ├── staff.svg │ │ │ │ │ ├── staff.xml │ │ │ │ │ ├── staff2.dtd │ │ │ │ │ ├── staff2.svg │ │ │ │ │ ├── staff2.xml │ │ │ │ │ ├── staffNS.dtd │ │ │ │ │ ├── staffNS.svg │ │ │ │ │ ├── staffNS.xml │ │ │ │ │ ├── svgtest.js │ │ │ │ │ ├── svgunit.js │ │ │ │ │ ├── xhtml-lat1.ent │ │ │ │ │ ├── xhtml-special.ent │ │ │ │ │ ├── xhtml-symbol.ent │ │ │ │ │ ├── xhtml1-frameset.dtd │ │ │ │ │ ├── xhtml1-strict.dtd │ │ │ │ │ └── xhtml1-transitional.dtd │ │ │ │ │ ├── staff.xml.js │ │ │ │ │ ├── staff2.xml.js │ │ │ │ │ └── staffNS.xml.js │ │ │ ├── events.js │ │ │ ├── events │ │ │ │ └── files │ │ │ │ │ └── hc_staff.xml.js │ │ │ ├── extra.js │ │ │ ├── html.js │ │ │ ├── html │ │ │ │ └── files │ │ │ │ │ ├── anchor.html │ │ │ │ │ ├── anchor2.html │ │ │ │ │ ├── applet.html │ │ │ │ │ ├── applet2.html │ │ │ │ │ ├── area.html │ │ │ │ │ ├── area2.html │ │ │ │ │ ├── base.html │ │ │ │ │ ├── base2.html │ │ │ │ │ ├── basefont.html │ │ │ │ │ ├── body.html │ │ │ │ │ ├── br.html │ │ │ │ │ ├── button.html │ │ │ │ │ ├── collection.html │ │ │ │ │ ├── directory.html │ │ │ │ │ ├── div.html │ │ │ │ │ ├── dl.html │ │ │ │ │ ├── document.html │ │ │ │ │ ├── element.html │ │ │ │ │ ├── fieldset.html │ │ │ │ │ ├── font.html │ │ │ │ │ ├── form.html │ │ │ │ │ ├── form2.html │ │ │ │ │ ├── form3.html │ │ │ │ │ ├── frame.html │ │ │ │ │ ├── frame2.html │ │ │ │ │ ├── frameset.html │ │ │ │ │ ├── head.html │ │ │ │ │ ├── heading.html │ │ │ │ │ ├── hr.html │ │ │ │ │ ├── html.html │ │ │ │ │ ├── iframe.html │ │ │ │ │ ├── iframe2.html │ │ │ │ │ ├── img.html │ │ │ │ │ ├── img │ │ │ │ │ ├── right.png │ │ │ │ │ └── w3c_main.png │ │ │ │ │ ├── input.html │ │ │ │ │ ├── isindex.html │ │ │ │ │ ├── js │ │ │ │ │ └── script1.js │ │ │ │ │ ├── label.html │ │ │ │ │ ├── legend.html │ │ │ │ │ ├── li.html │ │ │ │ │ ├── link.html │ │ │ │ │ ├── link2.html │ │ │ │ │ ├── map.html │ │ │ │ │ ├── menu.html │ │ │ │ │ ├── meta.html │ │ │ │ │ ├── mod.html │ │ │ │ │ ├── object.html │ │ │ │ │ ├── object2.html │ │ │ │ │ ├── olist.html │ │ │ │ │ ├── optgroup.html │ │ │ │ │ ├── option.html │ │ │ │ │ ├── optionscollection.html │ │ │ │ │ ├── paragraph.html │ │ │ │ │ ├── param.html │ │ │ │ │ ├── pre.html │ │ │ │ │ ├── quote.html │ │ │ │ │ ├── right.png │ │ │ │ │ ├── script.html │ │ │ │ │ ├── select.html │ │ │ │ │ ├── style.html │ │ │ │ │ ├── table.html │ │ │ │ │ ├── table1.html │ │ │ │ │ ├── tablecaption.html │ │ │ │ │ ├── tablecell.html │ │ │ │ │ ├── tablecol.html │ │ │ │ │ ├── tablerow.html │ │ │ │ │ ├── tablesection.html │ │ │ │ │ ├── textarea.html │ │ │ │ │ ├── title.html │ │ │ │ │ ├── ulist.html │ │ │ │ │ └── w3c_main.png │ │ │ └── style.js │ │ │ ├── level3 │ │ │ ├── core.js │ │ │ ├── core │ │ │ │ └── files │ │ │ │ │ ├── barfoo.xml.js │ │ │ │ │ ├── barfoo_nodefaultns.xml.js │ │ │ │ │ ├── barfoo_standalone_no.xml.js │ │ │ │ │ ├── barfoo_standalone_yes.xml.js │ │ │ │ │ ├── barfoo_utf16.xml.js │ │ │ │ │ ├── barfoo_utf8.xml.js │ │ │ │ │ ├── datatype_normalization.xml.js │ │ │ │ │ ├── datatype_normalization2.xml.js │ │ │ │ │ ├── external_barfoo.xml.js │ │ │ │ │ ├── hc_nodtdstaff.xml.js │ │ │ │ │ ├── hc_staff.xml.js │ │ │ │ │ ├── orig │ │ │ │ │ ├── Yes │ │ │ │ │ ├── back.gif │ │ │ │ │ ├── barfoo.svg │ │ │ │ │ ├── barfoo.xhtml │ │ │ │ │ ├── barfoo.xml │ │ │ │ │ ├── barfoo_base.svg │ │ │ │ │ ├── barfoo_base.xhtml │ │ │ │ │ ├── barfoo_base.xml │ │ │ │ │ ├── barfoo_base.xml.js │ │ │ │ │ ├── barfoo_nodefaultns.svg │ │ │ │ │ ├── barfoo_nodefaultns.xhtml │ │ │ │ │ ├── barfoo_nodefaultns.xml │ │ │ │ │ ├── barfoo_standalone_no.svg │ │ │ │ │ ├── barfoo_standalone_no.xhtml │ │ │ │ │ ├── barfoo_standalone_no.xml │ │ │ │ │ ├── barfoo_standalone_yes.svg │ │ │ │ │ ├── barfoo_standalone_yes.xhtml │ │ │ │ │ ├── barfoo_standalone_yes.xml │ │ │ │ │ ├── barfoo_utf16.svg │ │ │ │ │ ├── barfoo_utf16.xhtml │ │ │ │ │ ├── barfoo_utf16.xml │ │ │ │ │ ├── barfoo_utf8.svg │ │ │ │ │ ├── barfoo_utf8.xhtml │ │ │ │ │ ├── barfoo_utf8.xml │ │ │ │ │ ├── blank.gif │ │ │ │ │ ├── canonicalform01.svg │ │ │ │ │ ├── canonicalform01.xhtml │ │ │ │ │ ├── canonicalform01.xml │ │ │ │ │ ├── canonicalform02.svg │ │ │ │ │ ├── canonicalform02.xhtml │ │ │ │ │ ├── canonicalform02.xml │ │ │ │ │ ├── canonicalform03.svg │ │ │ │ │ ├── canonicalform03.xhtml │ │ │ │ │ ├── canonicalform03.xml │ │ │ │ │ ├── canonicalform04.svg │ │ │ │ │ ├── canonicalform04.xhtml │ │ │ │ │ ├── canonicalform04.xml │ │ │ │ │ ├── canonicalform05.svg │ │ │ │ │ ├── canonicalform05.xhtml │ │ │ │ │ ├── canonicalform05.xml │ │ │ │ │ ├── datatype_normalization.svg │ │ │ │ │ ├── datatype_normalization.svg.xsd │ │ │ │ │ ├── datatype_normalization.xml │ │ │ │ │ ├── datatype_normalization.xsd │ │ │ │ │ ├── datatype_normalization2.svg │ │ │ │ │ ├── datatype_normalization2.svg.xsd │ │ │ │ │ ├── datatype_normalization2.xhtml │ │ │ │ │ ├── datatype_normalization2.xml │ │ │ │ │ ├── datatype_normalization2.xsd │ │ │ │ │ ├── external_barfoo.svg │ │ │ │ │ ├── external_barfoo.xhtml │ │ │ │ │ ├── external_barfoo.xml │ │ │ │ │ ├── external_foo.ent │ │ │ │ │ ├── external_foobr.ent │ │ │ │ │ ├── external_widget.ent │ │ │ │ │ ├── hc_nodtdstaff.html │ │ │ │ │ ├── hc_nodtdstaff.html.1 │ │ │ │ │ ├── hc_nodtdstaff.svg │ │ │ │ │ ├── hc_nodtdstaff.xhtml │ │ │ │ │ ├── hc_nodtdstaff.xml │ │ │ │ │ ├── hc_staff.svg │ │ │ │ │ ├── hc_staff.svg.xsd │ │ │ │ │ ├── hc_staff.xhtml │ │ │ │ │ ├── hc_staff.xml │ │ │ │ │ ├── hc_staff.xsd │ │ │ │ │ ├── image2.gif │ │ │ │ │ ├── index.html │ │ │ │ │ ├── index.html.1 │ │ │ │ │ ├── index.html.2 │ │ │ │ │ ├── index.html?C=D;O=A │ │ │ │ │ ├── index.html?C=M;O=A │ │ │ │ │ ├── index.html?C=N;O=D │ │ │ │ │ ├── index.html?C=S;O=A │ │ │ │ │ ├── robots.txt │ │ │ │ │ ├── svgtest.js │ │ │ │ │ ├── svgunit.js │ │ │ │ │ ├── text.gif │ │ │ │ │ ├── typeinfo.svg │ │ │ │ │ ├── typeinfo.svg.xsd │ │ │ │ │ ├── typeinfo.xhtml │ │ │ │ │ ├── typeinfo.xml │ │ │ │ │ ├── typeinfo.xsd │ │ │ │ │ ├── unknown.gif │ │ │ │ │ ├── xhtml-lat1.ent │ │ │ │ │ ├── xhtml-special.ent │ │ │ │ │ ├── xhtml-symbol.ent │ │ │ │ │ ├── xhtml1-frameset.dtd │ │ │ │ │ ├── xhtml1-strict.dtd │ │ │ │ │ └── xhtml1-transitional.dtd │ │ │ │ │ └── typeinfo.xml.js │ │ │ ├── ls.js │ │ │ ├── ls │ │ │ │ └── files │ │ │ │ │ ├── index.html │ │ │ │ │ └── subdir │ │ │ │ │ └── index.html │ │ │ └── xpath.js │ │ │ ├── runner │ │ │ ├── sizzle │ │ │ ├── files │ │ │ │ ├── index.html │ │ │ │ └── with_fries.xml │ │ │ ├── index.js │ │ │ └── support │ │ │ │ ├── jquery-1.6.2.js │ │ │ │ ├── qunit.js │ │ │ │ └── selector.js │ │ │ └── window │ │ │ └── index.js │ ├── package.json │ ├── src │ │ ├── footer.js │ │ └── header.js │ └── tests │ │ ├── local-test.js │ │ └── npm-installed-test.js └── jsonrpc2 │ ├── LICENSE │ ├── Makefile │ ├── README.md │ ├── examples │ ├── client.js │ └── server.js │ ├── package.json │ ├── src │ └── jsonrpc.js │ └── test │ ├── jsonrpc-test.js │ └── test.js ├── package.json ├── public ├── css │ ├── app.css │ └── destroy.png ├── favicon.ico ├── jquery-rpc-test.html ├── js │ ├── app.js │ ├── backbone-modified.js │ ├── backbone-urlhandler.js │ ├── backbone.redis.js │ ├── browserify.js │ ├── clientonly.js │ ├── jquery │ │ └── jquery.jsonrpc.js │ ├── models │ │ ├── SongCollection.js │ │ ├── SongModel.js │ │ ├── TrackCollection.js │ │ ├── TrackModel.js │ │ ├── UserCollection.js │ │ ├── UserModel.js │ │ └── index.js │ ├── routers │ │ ├── SongRouter.js │ │ ├── TrackRouter.js │ │ └── index.js │ ├── socket.io.js │ ├── socket.io.min.js │ ├── socket_io.js │ ├── templates │ │ ├── song.ejs │ │ ├── songlist.ejs │ │ ├── songlistItem.ejs │ │ ├── songlistStats.ejs │ │ ├── track.ejs │ │ ├── tracklist.ejs │ │ ├── tracklistItem.ejs │ │ └── tracklistStats.ejs │ └── views │ │ ├── SongListItemView.js │ │ ├── SongListView.js │ │ ├── SongView.js │ │ ├── TrackListItemView.js │ │ ├── TrackListView.js │ │ ├── TrackView.js │ │ └── index.js └── layout.html └── server.js /.gitignore: -------------------------------------------------------------------------------- 1 | # Numerous always-ignore extensions 2 | *.diff 3 | *.err 4 | *.orig 5 | *.log 6 | *.rej 7 | *.swo 8 | *.swp 9 | *.vi 10 | *~ 11 | 12 | # OS or Editor folders 13 | .DS_Store 14 | .cache 15 | .project 16 | .settings 17 | .buildpath 18 | nbproject 19 | thumbs.db 20 | 21 | # Dreamweaver added files 22 | _notes 23 | dwsync.xml 24 | 25 | # Komodo 26 | *.komodoproject 27 | .komodotools 28 | 29 | # Folders to ignore 30 | .hg 31 | .svn 32 | publish 33 | .idea 34 | 35 | # build script local files 36 | build/buildinfo.properties 37 | build/config/buildinfo.properties 38 | 39 | _dev 40 | -------------------------------------------------------------------------------- /README: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Morriz/backbone-everywhere/27c7b99fc68d682a2605d9194fe480722a505224/README -------------------------------------------------------------------------------- /node_modules/backbone-redis/.gitignore: -------------------------------------------------------------------------------- 1 | # Numerous always-ignore extensions 2 | *.diff 3 | *.err 4 | *.orig 5 | *.log 6 | *.rej 7 | *.swo 8 | *.swp 9 | *.vi 10 | *~ 11 | 12 | # OS or Editor folders 13 | .DS_Store 14 | .cache 15 | .project 16 | .settings 17 | nbproject 18 | thumbs.db 19 | 20 | # Dreamweaver added files 21 | _notes 22 | dwsync.xml 23 | 24 | # Komodo 25 | *.komodoproject 26 | .komodotools 27 | 28 | # Folders to ignore 29 | .hg 30 | .svn 31 | publish 32 | .idea 33 | 34 | # build script local files 35 | build/buildinfo.properties 36 | build/config/buildinfo.properties 37 | 38 | _dev -------------------------------------------------------------------------------- /node_modules/backbone-redis/browser/index.js: -------------------------------------------------------------------------------- 1 | // Backbone-Redis 2 | // (c) 2011 Beau Sorensen 3 | // Backbone-Redis may be freely distributed under the MIT license. 4 | // For all details and documentation: 5 | // https://github.com/sorensen/backbone-redis 6 | 7 | module.exports = require('./backbone-redis'); -------------------------------------------------------------------------------- /node_modules/backbone-redis/examples/todos/destroy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Morriz/backbone-everywhere/27c7b99fc68d682a2605d9194fe480722a505224/node_modules/backbone-redis/examples/todos/destroy.png -------------------------------------------------------------------------------- /node_modules/backbone-redis/index.js: -------------------------------------------------------------------------------- 1 | // Backbone-Redis 2 | // (c) 2011 Beau Sorensen 3 | // Backbone-Redis may be freely distributed under the MIT license. 4 | // For all details and documentation: 5 | // https://github.com/sorensen/backbone-redis 6 | 7 | module.exports = require('./lib/backbone-redis'); -------------------------------------------------------------------------------- /node_modules/backbone-redis/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "backbone-redis", 3 | "description" : "Persistant backbone storage through redis pub/sub and socket.io", 4 | "version" : "0.0.2", 5 | "homepage" : "https://github.com/sorensen/backbone-redis", 6 | "repository" : { 7 | "type" : "git", 8 | "url" : "git://github.com/sorensen/backbone-redis.git" 9 | }, 10 | "directories" : { 11 | "lib" : "./lib" 12 | }, 13 | "keywords" : [ 14 | "backbone", 15 | "redis", 16 | "pubsub", 17 | "socket" 18 | ], 19 | "main" : "./index", 20 | "dependencies" : { 21 | "backbone" : ">= 0.5.1", 22 | "underscore" : ">= 1.1.7", 23 | "socket.io" : ">= 0.7.0" 24 | }, 25 | "browserify" : "browser/index.js", 26 | "engines" : { 27 | "node" : ">= 0.4.1 < 0.5.0" 28 | }, 29 | "author" : { 30 | "name" : "Beau Sorensen", 31 | "email" : "mail@beausorensen.com", 32 | "url" : "http://beausorensen.com" 33 | } 34 | } -------------------------------------------------------------------------------- /node_modules/backbone/.gitignore: -------------------------------------------------------------------------------- 1 | raw -------------------------------------------------------------------------------- /node_modules/backbone/docs/images/arrows.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Morriz/backbone-everywhere/27c7b99fc68d682a2605d9194fe480722a505224/node_modules/backbone/docs/images/arrows.png -------------------------------------------------------------------------------- /node_modules/backbone/docs/images/backbone-mobile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Morriz/backbone-everywhere/27c7b99fc68d682a2605d9194fe480722a505224/node_modules/backbone/docs/images/backbone-mobile.png -------------------------------------------------------------------------------- /node_modules/backbone/docs/images/backbone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Morriz/backbone-everywhere/27c7b99fc68d682a2605d9194fe480722a505224/node_modules/backbone/docs/images/backbone.png -------------------------------------------------------------------------------- /node_modules/backbone/docs/images/background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Morriz/backbone-everywhere/27c7b99fc68d682a2605d9194fe480722a505224/node_modules/backbone/docs/images/background.png -------------------------------------------------------------------------------- /node_modules/backbone/docs/images/baroque.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Morriz/backbone-everywhere/27c7b99fc68d682a2605d9194fe480722a505224/node_modules/backbone/docs/images/baroque.jpg -------------------------------------------------------------------------------- /node_modules/backbone/docs/images/basecamp-mobile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Morriz/backbone-everywhere/27c7b99fc68d682a2605d9194fe480722a505224/node_modules/backbone/docs/images/basecamp-mobile.png -------------------------------------------------------------------------------- /node_modules/backbone/docs/images/bittorrent.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Morriz/backbone-everywhere/27c7b99fc68d682a2605d9194fe480722a505224/node_modules/backbone/docs/images/bittorrent.jpg -------------------------------------------------------------------------------- /node_modules/backbone/docs/images/blossom.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Morriz/backbone-everywhere/27c7b99fc68d682a2605d9194fe480722a505224/node_modules/backbone/docs/images/blossom.png -------------------------------------------------------------------------------- /node_modules/backbone/docs/images/chop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Morriz/backbone-everywhere/27c7b99fc68d682a2605d9194fe480722a505224/node_modules/backbone/docs/images/chop.png -------------------------------------------------------------------------------- /node_modules/backbone/docs/images/cloudapp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Morriz/backbone-everywhere/27c7b99fc68d682a2605d9194fe480722a505224/node_modules/backbone/docs/images/cloudapp.png -------------------------------------------------------------------------------- /node_modules/backbone/docs/images/dc-workspace.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Morriz/backbone-everywhere/27c7b99fc68d682a2605d9194fe480722a505224/node_modules/backbone/docs/images/dc-workspace.png -------------------------------------------------------------------------------- /node_modules/backbone/docs/images/decide.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Morriz/backbone-everywhere/27c7b99fc68d682a2605d9194fe480722a505224/node_modules/backbone/docs/images/decide.png -------------------------------------------------------------------------------- /node_modules/backbone/docs/images/flow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Morriz/backbone-everywhere/27c7b99fc68d682a2605d9194fe480722a505224/node_modules/backbone/docs/images/flow.png -------------------------------------------------------------------------------- /node_modules/backbone/docs/images/fluxiom.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Morriz/backbone-everywhere/27c7b99fc68d682a2605d9194fe480722a505224/node_modules/backbone/docs/images/fluxiom.png -------------------------------------------------------------------------------- /node_modules/backbone/docs/images/groupon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Morriz/backbone-everywhere/27c7b99fc68d682a2605d9194fe480722a505224/node_modules/backbone/docs/images/groupon.png -------------------------------------------------------------------------------- /node_modules/backbone/docs/images/hotel-tonight.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Morriz/backbone-everywhere/27c7b99fc68d682a2605d9194fe480722a505224/node_modules/backbone/docs/images/hotel-tonight.png -------------------------------------------------------------------------------- /node_modules/backbone/docs/images/instagreat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Morriz/backbone-everywhere/27c7b99fc68d682a2605d9194fe480722a505224/node_modules/backbone/docs/images/instagreat.png -------------------------------------------------------------------------------- /node_modules/backbone/docs/images/menagerievet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Morriz/backbone-everywhere/27c7b99fc68d682a2605d9194fe480722a505224/node_modules/backbone/docs/images/menagerievet.png -------------------------------------------------------------------------------- /node_modules/backbone/docs/images/pandora.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Morriz/backbone-everywhere/27c7b99fc68d682a2605d9194fe480722a505224/node_modules/backbone/docs/images/pandora.png -------------------------------------------------------------------------------- /node_modules/backbone/docs/images/quietwrite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Morriz/backbone-everywhere/27c7b99fc68d682a2605d9194fe480722a505224/node_modules/backbone/docs/images/quietwrite.png -------------------------------------------------------------------------------- /node_modules/backbone/docs/images/quoteroller.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Morriz/backbone-everywhere/27c7b99fc68d682a2605d9194fe480722a505224/node_modules/backbone/docs/images/quoteroller.png -------------------------------------------------------------------------------- /node_modules/backbone/docs/images/seatgeek.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Morriz/backbone-everywhere/27c7b99fc68d682a2605d9194fe480722a505224/node_modules/backbone/docs/images/seatgeek.png -------------------------------------------------------------------------------- /node_modules/backbone/docs/images/soundcloud.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Morriz/backbone-everywhere/27c7b99fc68d682a2605d9194fe480722a505224/node_modules/backbone/docs/images/soundcloud.png -------------------------------------------------------------------------------- /node_modules/backbone/docs/images/substance.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Morriz/backbone-everywhere/27c7b99fc68d682a2605d9194fe480722a505224/node_modules/backbone/docs/images/substance.png -------------------------------------------------------------------------------- /node_modules/backbone/docs/images/test-kitchen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Morriz/backbone-everywhere/27c7b99fc68d682a2605d9194fe480722a505224/node_modules/backbone/docs/images/test-kitchen.png -------------------------------------------------------------------------------- /node_modules/backbone/docs/images/tilemill.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Morriz/backbone-everywhere/27c7b99fc68d682a2605d9194fe480722a505224/node_modules/backbone/docs/images/tilemill.png -------------------------------------------------------------------------------- /node_modules/backbone/docs/images/todos.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Morriz/backbone-everywhere/27c7b99fc68d682a2605d9194fe480722a505224/node_modules/backbone/docs/images/todos.png -------------------------------------------------------------------------------- /node_modules/backbone/docs/images/trajectory.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Morriz/backbone-everywhere/27c7b99fc68d682a2605d9194fe480722a505224/node_modules/backbone/docs/images/trajectory.png -------------------------------------------------------------------------------- /node_modules/backbone/docs/images/trapit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Morriz/backbone-everywhere/27c7b99fc68d682a2605d9194fe480722a505224/node_modules/backbone/docs/images/trapit.png -------------------------------------------------------------------------------- /node_modules/backbone/docs/images/tzigla.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Morriz/backbone-everywhere/27c7b99fc68d682a2605d9194fe480722a505224/node_modules/backbone/docs/images/tzigla.png -------------------------------------------------------------------------------- /node_modules/backbone/examples/todos/destroy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Morriz/backbone-everywhere/27c7b99fc68d682a2605d9194fe480722a505224/node_modules/backbone/examples/todos/destroy.png -------------------------------------------------------------------------------- /node_modules/backbone/index.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./backbone'); 2 | -------------------------------------------------------------------------------- /node_modules/backbone/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "backbone", 3 | "description" : "Give your JS App some Backbone with Models, Views, Collections, and Events.", 4 | "url" : "http://documentcloud.github.com/backbone/", 5 | "keywords" : ["util", "functional", "server", "client", "browser"], 6 | "author" : "Jeremy Ashkenas ", 7 | "contributors" : [], 8 | "dependencies" : { 9 | "underscore" : ">=1.1.2" 10 | }, 11 | "lib" : ".", 12 | "main" : "backbone.js", 13 | "version" : "0.5.3" 14 | } 15 | -------------------------------------------------------------------------------- /node_modules/backbone/test/model.coffee: -------------------------------------------------------------------------------- 1 | # Quick Backbone/CoffeeScript tests to make sure that inheritance 2 | # works correctly. 3 | 4 | {ok, equal, deepEqual} = require 'assert' 5 | {Model, Collection, Events} = require '../backbone' 6 | 7 | 8 | # Patch `ok` to store a count of passed tests... 9 | count = 0 10 | oldOk = ok 11 | ok = -> 12 | oldOk arguments... 13 | count++ 14 | 15 | 16 | class Document extends Model 17 | 18 | fullName: -> 19 | @get('name') + ' ' + @get('surname') 20 | 21 | tempest = new Document 22 | id : '1-the-tempest', 23 | title : "The Tempest", 24 | name : "William" 25 | surname : "Shakespeare" 26 | length : 123 27 | 28 | ok tempest.fullName() is "William Shakespeare" 29 | ok tempest.get('length') is 123 30 | 31 | 32 | class ProperDocument extends Document 33 | 34 | fullName: -> 35 | "Mr. " + super 36 | 37 | properTempest = new ProperDocument tempest.attributes 38 | 39 | ok properTempest.fullName() is "Mr. William Shakespeare" 40 | ok properTempest.get('length') is 123 41 | 42 | 43 | console.log "passed #{count} tests" 44 | -------------------------------------------------------------------------------- /node_modules/backbone/test/noconflict.js: -------------------------------------------------------------------------------- 1 | $(document).ready(function() { 2 | 3 | module("Backbone.noConflict"); 4 | 5 | test('Backbone.noConflict', function() { 6 | var noconflictBackbone = Backbone.noConflict(); 7 | equals(window.Backbone, undefined, 'Returned window.Backbone'); 8 | window.Backbone = noconflictBackbone; 9 | equals(window.Backbone, noconflictBackbone, 'Backbone is still pointing to the original Backbone'); 10 | }); 11 | 12 | }); -------------------------------------------------------------------------------- /node_modules/fileify/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .git 3 | -------------------------------------------------------------------------------- /node_modules/fileify/browser/files.js: -------------------------------------------------------------------------------- 1 | module.exports = $bodies 2 | -------------------------------------------------------------------------------- /node_modules/fileify/example/jade/js/main.js: -------------------------------------------------------------------------------- 1 | var render = require('./render'); 2 | var deck = require('deck'); 3 | var $ = require('jquery'); 4 | 5 | $(window).ready(function () { 6 | setInterval(function () { 7 | var titles = [ 'foo', 'bar', 'baz' ]; 8 | var bodies = [ 'what', 'lul', 'oh hello' ]; 9 | 10 | var msg = render('msg.jade', { 11 | title : deck.pick(titles), 12 | body : deck.pick(bodies) 13 | }).appendTo($('#messages')); 14 | 15 | setTimeout(function () { 16 | msg.animate({ 17 | opacity : 'toggle', 18 | height : 'toggle' 19 | }, 1000) 20 | }, 6000); 21 | }, 2000); 22 | }); 23 | -------------------------------------------------------------------------------- /node_modules/fileify/example/jade/js/render.js: -------------------------------------------------------------------------------- 1 | var views = require('views'); 2 | var jade = require('jade'); 3 | var $ = require('jquery'); 4 | 5 | module.exports = function (file, vars, opts) { 6 | if (!opts) opts = {}; 7 | opts.locals = vars; 8 | return $(jade.render(views[file], opts)); 9 | }; 10 | -------------------------------------------------------------------------------- /node_modules/fileify/example/jade/server.js: -------------------------------------------------------------------------------- 1 | var express = require('express'); 2 | var app = express.createServer(); 3 | app.use(express.static(__dirname + '/static')); 4 | app.set('views', __dirname + '/views'); 5 | app.listen(8080); 6 | console.log('Listening on 8080'); 7 | 8 | app.get('/', function (req, res) { 9 | res.render('index.jade', { layout : false }); 10 | }); 11 | 12 | var browserify = require('browserify'); 13 | var bundle = browserify({ 14 | entry : __dirname + '/js/main.js', 15 | base : __dirname + '/js', 16 | require : [ 'jade', 'deck', { jquery : 'jquery-browserify' } ] 17 | }); 18 | app.use(bundle); 19 | 20 | var fileify = require('fileify'); 21 | bundle.use(fileify('views', __dirname + '/views')); 22 | -------------------------------------------------------------------------------- /node_modules/fileify/example/jade/static/site.css: -------------------------------------------------------------------------------- 1 | .msg { 2 | width: 500px; 3 | margin-bottom: 50px; 4 | border: 4px rgb(100,150,200) solid; 5 | } 6 | 7 | .body { 8 | padding: 20px; 9 | } 10 | 11 | .title { 12 | background-color: rgb(100,150,200); 13 | color: white; 14 | font-weight: bold; 15 | padding: 5px; 16 | } 17 | -------------------------------------------------------------------------------- /node_modules/fileify/example/jade/views/index.jade: -------------------------------------------------------------------------------- 1 | !!! 2 | head 3 | title fileify jade demo 4 | link(rel='stylesheet', href='/site.css') 5 | script(type='text/javascript', src='/browserify.js') 6 | body 7 | h1 Here are some messages: 8 | div#messages 9 | -------------------------------------------------------------------------------- /node_modules/fileify/example/jade/views/msg.jade: -------------------------------------------------------------------------------- 1 | div.msg 2 | div.title #{title} 3 | div.body #{body} 4 | -------------------------------------------------------------------------------- /node_modules/fileify/example/simple/files/bar.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | echo bar! 3 | -------------------------------------------------------------------------------- /node_modules/fileify/example/simple/files/foo.txt: -------------------------------------------------------------------------------- 1 | This is the foo file! 2 | -------------------------------------------------------------------------------- /node_modules/fileify/example/simple/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 23 | 24 | 25 |
26 | 27 | 28 | -------------------------------------------------------------------------------- /node_modules/fileify/example/simple/server.js: -------------------------------------------------------------------------------- 1 | var express = require('express'); 2 | var app = express.createServer(); 3 | 4 | app.use(express.static(__dirname)); 5 | app.listen(8080); 6 | console.log('Listening on 8080'); 7 | 8 | var browserify = require('browserify'); 9 | var bundle = browserify({ 10 | require : { jquery : 'jquery-browserify' } 11 | }); 12 | app.use(bundle); 13 | 14 | var fileify = require('fileify'); 15 | bundle.use(fileify('files', __dirname + '/files')); 16 | -------------------------------------------------------------------------------- /node_modules/fileify/node_modules/findit/examples/callback.js: -------------------------------------------------------------------------------- 1 | require('findit').find(__dirname, function (file) { 2 | console.log(file); 3 | }) 4 | -------------------------------------------------------------------------------- /node_modules/fileify/node_modules/findit/examples/emitter.js: -------------------------------------------------------------------------------- 1 | var finder = require('findit').find(__dirname); 2 | 3 | finder.on('directory', function (dir) { 4 | console.log(dir + '/'); 5 | }); 6 | 7 | finder.on('file', function (file) { 8 | console.log(file); 9 | }); 10 | -------------------------------------------------------------------------------- /node_modules/fileify/node_modules/findit/examples/sync.js: -------------------------------------------------------------------------------- 1 | var files = require('findit').findSync(__dirname); 2 | console.dir(files); 3 | -------------------------------------------------------------------------------- /node_modules/fileify/node_modules/findit/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "findit", 3 | "version" : "0.1.1", 4 | "description" : "Walk a directory tree.", 5 | "main" : "./index.js", 6 | "dependencies" : { 7 | "seq" : ">=0.1.7" 8 | }, 9 | "devDependencies" : { 10 | "hashish" : ">=0.0.2 <0.1", 11 | "expresso" : "0.7.x" 12 | }, 13 | "repository" : { 14 | "type" : "git", 15 | "url" : "http://github.com/substack/node-findit.git" 16 | }, 17 | "keywords" : [ 18 | "find", 19 | "walk", 20 | "directory", 21 | "recursive", 22 | "tree" 23 | ], 24 | "author" : { 25 | "name" : "James Halliday", 26 | "email" : "mail@substack.net", 27 | "url" : "http://substack.net" 28 | }, 29 | "license" : "MIT/X11", 30 | "engine" : ["node >=0.2.0"] 31 | } 32 | -------------------------------------------------------------------------------- /node_modules/fileify/node_modules/findit/test/cb.js: -------------------------------------------------------------------------------- 1 | var assert = require('assert'); 2 | var path = require('path'); 3 | var find = require('../'); 4 | 5 | exports.cbSync = function () { 6 | var files = []; 7 | var dirs = []; 8 | find.sync(__dirname + '/foo', function (file, stat) { 9 | if (stat.isDirectory()) dirs.push(file) 10 | else files.push(file) 11 | }); 12 | 13 | function equal (xs, ys) { 14 | assert.deepEqual( 15 | xs.sort().map(function (x) { 16 | return path.relative(__dirname + '/foo', x) 17 | }), 18 | ys.sort() 19 | ); 20 | } 21 | 22 | equal(dirs, [ 'a', 'a/b', 'a/b/c' ]); 23 | equal(files, [ 'x', 'a/y', 'a/b/z', 'a/b/c/w' ]); 24 | }; 25 | -------------------------------------------------------------------------------- /node_modules/fileify/node_modules/findit/test/foo/a/b/c/w: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Morriz/backbone-everywhere/27c7b99fc68d682a2605d9194fe480722a505224/node_modules/fileify/node_modules/findit/test/foo/a/b/c/w -------------------------------------------------------------------------------- /node_modules/fileify/node_modules/findit/test/foo/a/b/z: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Morriz/backbone-everywhere/27c7b99fc68d682a2605d9194fe480722a505224/node_modules/fileify/node_modules/findit/test/foo/a/b/z -------------------------------------------------------------------------------- /node_modules/fileify/node_modules/findit/test/foo/a/y: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Morriz/backbone-everywhere/27c7b99fc68d682a2605d9194fe480722a505224/node_modules/fileify/node_modules/findit/test/foo/a/y -------------------------------------------------------------------------------- /node_modules/fileify/node_modules/findit/test/foo/x: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Morriz/backbone-everywhere/27c7b99fc68d682a2605d9194fe480722a505224/node_modules/fileify/node_modules/findit/test/foo/x -------------------------------------------------------------------------------- /node_modules/fileify/node_modules/findit/test/module.js: -------------------------------------------------------------------------------- 1 | var assert = require('assert'); 2 | var find = require('../'); 3 | 4 | exports.module = function () { 5 | assert.eql(find.findSync, find.find.sync); 6 | assert.eql(find, find.find); 7 | }; 8 | 9 | exports.file = function () { 10 | var to = setTimeout(function () { 11 | assert.fail('never ended'); 12 | }, 5000); 13 | 14 | var finder = find(__filename); 15 | var files = []; 16 | finder.on('file', function (file) { 17 | assert.equal(file, __filename); 18 | files.push(file); 19 | }); 20 | 21 | finder.on('directory', function (dir) { 22 | assert.fail(dir); 23 | }); 24 | 25 | finder.on('end', function () { 26 | clearTimeout(to); 27 | assert.deepEqual(files, [ __filename ]); 28 | }); 29 | }; 30 | -------------------------------------------------------------------------------- /node_modules/fileify/node_modules/seq/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /node_modules/fileify/node_modules/seq/examples/join.js: -------------------------------------------------------------------------------- 1 | var Seq = require('seq'); 2 | Seq() 3 | .par(function () { 4 | var that = this; 5 | setTimeout(function () { that(null, 'a') }, 300); 6 | }) 7 | .par(function () { 8 | var that = this; 9 | setTimeout(function () { that(null, 'b') }, 200); 10 | }) 11 | .par(function () { 12 | var that = this; 13 | setTimeout(function () { that(null, 'c') }, 100); 14 | }) 15 | .seq(function (a, b, c) { 16 | console.dir([ a, b, c ]) 17 | }) 18 | ; 19 | -------------------------------------------------------------------------------- /node_modules/fileify/node_modules/seq/examples/parseq.coffee: -------------------------------------------------------------------------------- 1 | fs = require 'fs' 2 | exec = require('child_process').exec 3 | Seq = require 'seq' 4 | 5 | Seq() 6 | .seq_((next) -> exec 'whoami', next) 7 | .par_((next, who) -> exec('groups ' + who, next)) 8 | .par_((next, who) -> fs.readFile(__filename, 'utf8', next)) 9 | .seq_((next, groups, src) -> 10 | console.log('Groups: ' + groups.trim()) 11 | console.log('This file has ' + src.length + ' bytes') 12 | ) 13 | -------------------------------------------------------------------------------- /node_modules/fileify/node_modules/seq/examples/parseq.js: -------------------------------------------------------------------------------- 1 | var fs = require('fs'); 2 | var exec = require('child_process').exec; 3 | 4 | var Seq = require('seq'); 5 | Seq() 6 | .seq(function () { 7 | exec('whoami', this) 8 | }) 9 | .par(function (who) { 10 | exec('groups ' + who, this); 11 | }) 12 | .par(function (who) { 13 | fs.readFile(__filename, 'utf8', this); 14 | }) 15 | .seq(function (groups, src) { 16 | console.log('Groups: ' + groups.trim()); 17 | console.log('This file has ' + src.length + ' bytes'); 18 | }) 19 | ; 20 | -------------------------------------------------------------------------------- /node_modules/fileify/node_modules/seq/examples/stat_all.coffee: -------------------------------------------------------------------------------- 1 | fs = require 'fs' 2 | Hash = require 'hashish' 3 | Seq = require 'seq' 4 | 5 | Seq() 6 | .seq_((next) -> 7 | fs.readdir(__dirname, next) 8 | ) 9 | .flatten() 10 | .parEach_((next, file) -> 11 | fs.stat(__dirname + '/' + file, next.into(file)) 12 | ) 13 | .seq_((next) -> 14 | sizes = Hash.map(next.vars, (s) -> s.size) 15 | console.dir sizes 16 | ) 17 | -------------------------------------------------------------------------------- /node_modules/fileify/node_modules/seq/examples/stat_all.js: -------------------------------------------------------------------------------- 1 | var fs = require('fs'); 2 | var Hash = require('hashish'); 3 | var Seq = require('seq'); 4 | 5 | Seq() 6 | .seq(function () { 7 | fs.readdir(__dirname, this); 8 | }) 9 | .flatten() 10 | .parEach(function (file) { 11 | fs.stat(__dirname + '/' + file, this.into(file)); 12 | }) 13 | .seq(function () { 14 | var sizes = Hash.map(this.vars, function (s) { return s.size }) 15 | console.dir(sizes); 16 | }) 17 | ; 18 | -------------------------------------------------------------------------------- /node_modules/fileify/node_modules/seq/node_modules/chainsaw/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /node_modules/fileify/node_modules/seq/node_modules/chainsaw/examples/add_do.js: -------------------------------------------------------------------------------- 1 | var Chainsaw = require('chainsaw'); 2 | 3 | function AddDo (sum) { 4 | return Chainsaw(function (saw) { 5 | this.add = function (n) { 6 | sum += n; 7 | saw.next(); 8 | }; 9 | 10 | this.do = function (cb) { 11 | saw.nest(cb, sum); 12 | }; 13 | }); 14 | } 15 | 16 | AddDo(0) 17 | .add(5) 18 | .add(10) 19 | .do(function (sum) { 20 | if (sum > 12) this.add(-10); 21 | }) 22 | .do(function (sum) { 23 | console.log('Sum: ' + sum); 24 | }) 25 | ; 26 | -------------------------------------------------------------------------------- /node_modules/fileify/node_modules/seq/node_modules/chainsaw/node_modules/traverse/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /node_modules/fileify/node_modules/seq/node_modules/chainsaw/node_modules/traverse/examples/json.js: -------------------------------------------------------------------------------- 1 | var Traverse = require('traverse'); 2 | 3 | var id = 54; 4 | var callbacks = {}; 5 | var obj = { moo : function () {}, foo : [2,3,4, function () {}] }; 6 | 7 | var scrubbed = Traverse(obj).map(function (x) { 8 | if (typeof x === 'function') { 9 | callbacks[id] = { id : id, f : x, path : this.path }; 10 | this.update('[Function]'); 11 | id++; 12 | } 13 | }); 14 | 15 | console.dir(scrubbed); 16 | console.dir(callbacks); 17 | -------------------------------------------------------------------------------- /node_modules/fileify/node_modules/seq/node_modules/chainsaw/node_modules/traverse/examples/leaves.js: -------------------------------------------------------------------------------- 1 | var Traverse = require('traverse'); 2 | 3 | var obj = { 4 | a : [1,2,3], 5 | b : 4, 6 | c : [5,6], 7 | d : { e : [7,8], f : 9 }, 8 | }; 9 | 10 | var leaves = Traverse(obj).reduce(function (acc, x) { 11 | if (this.isLeaf) acc.push(x); 12 | return acc; 13 | }, []); 14 | 15 | console.dir(leaves); 16 | -------------------------------------------------------------------------------- /node_modules/fileify/node_modules/seq/node_modules/chainsaw/node_modules/traverse/examples/negative.js: -------------------------------------------------------------------------------- 1 | var Traverse = require('traverse'); 2 | var obj = [ 5, 6, -3, [ 7, 8, -2, 1 ], { f : 10, g : -13 } ]; 3 | 4 | Traverse(obj).forEach(function (x) { 5 | if (x < 0) this.update(x + 128); 6 | }); 7 | 8 | console.dir(obj); 9 | -------------------------------------------------------------------------------- /node_modules/fileify/node_modules/seq/node_modules/chainsaw/node_modules/traverse/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "traverse", 3 | "version" : "0.3.9", 4 | "description" : "Traverse and transform objects by visiting every node on a recursive walk", 5 | "author" : "James Halliday", 6 | "license" : "MIT/X11", 7 | "main" : "./index", 8 | "repository" : { 9 | "type" : "git", 10 | "url" : "http://github.com/substack/js-traverse.git" 11 | }, 12 | "devDependencies" : { 13 | "expresso" : "0.7.x" 14 | }, 15 | "scripts" : { 16 | "test" : "expresso" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /node_modules/fileify/node_modules/seq/node_modules/chainsaw/node_modules/traverse/test/date.js: -------------------------------------------------------------------------------- 1 | var assert = require('assert'); 2 | var Traverse = require('traverse'); 3 | 4 | exports.dateEach = function () { 5 | var obj = { x : new Date, y : 10, z : 5 }; 6 | 7 | var counts = {}; 8 | 9 | Traverse(obj).forEach(function (node) { 10 | var t = (node instanceof Date && 'Date') || typeof node; 11 | counts[t] = (counts[t] || 0) + 1; 12 | }); 13 | 14 | assert.deepEqual(counts, { 15 | object : 1, 16 | Date : 1, 17 | number : 2, 18 | }); 19 | }; 20 | 21 | exports.dateMap = function () { 22 | var obj = { x : new Date, y : 10, z : 5 }; 23 | 24 | var res = Traverse(obj).map(function (node) { 25 | if (typeof node === 'number') this.update(node + 100); 26 | }); 27 | 28 | assert.ok(obj.x !== res.x); 29 | assert.deepEqual(res, { 30 | x : obj.x, 31 | y : 110, 32 | z : 105, 33 | }); 34 | }; 35 | 36 | -------------------------------------------------------------------------------- /node_modules/fileify/node_modules/seq/node_modules/chainsaw/node_modules/traverse/test/instance.js: -------------------------------------------------------------------------------- 1 | var assert = require('assert'); 2 | var Traverse = require('traverse'); 3 | var EventEmitter = require('events').EventEmitter; 4 | 5 | exports['check instanceof on node elems'] = function () { 6 | 7 | var counts = { emitter : 0 }; 8 | 9 | Traverse([ new EventEmitter, 3, 4, { ev : new EventEmitter }]) 10 | .forEach(function (node) { 11 | if (node instanceof EventEmitter) counts.emitter ++; 12 | }) 13 | ; 14 | 15 | assert.equal(counts.emitter, 2); 16 | }; 17 | 18 | -------------------------------------------------------------------------------- /node_modules/fileify/node_modules/seq/node_modules/chainsaw/node_modules/traverse/test/leaves.js: -------------------------------------------------------------------------------- 1 | var assert = require('assert'); 2 | var Traverse = require('traverse'); 3 | 4 | exports['leaves test'] = function () { 5 | var acc = []; 6 | Traverse({ 7 | a : [1,2,3], 8 | b : 4, 9 | c : [5,6], 10 | d : { e : [7,8], f : 9 } 11 | }).forEach(function (x) { 12 | if (this.isLeaf) acc.push(x); 13 | }); 14 | 15 | assert.equal( 16 | acc.join(' '), 17 | '1 2 3 4 5 6 7 8 9', 18 | 'Traversal in the right(?) order' 19 | ); 20 | }; 21 | 22 | -------------------------------------------------------------------------------- /node_modules/fileify/node_modules/seq/node_modules/chainsaw/node_modules/traverse/test/negative.js: -------------------------------------------------------------------------------- 1 | var Traverse = require('traverse'); 2 | var assert = require('assert'); 3 | 4 | exports['negative update test'] = function () { 5 | var obj = [ 5, 6, -3, [ 7, 8, -2, 1 ], { f : 10, g : -13 } ]; 6 | var fixed = Traverse.map(obj, function (x) { 7 | if (x < 0) this.update(x + 128); 8 | }); 9 | 10 | assert.deepEqual(fixed, 11 | [ 5, 6, 125, [ 7, 8, 126, 1 ], { f: 10, g: 115 } ], 12 | 'Negative values += 128' 13 | ); 14 | 15 | assert.deepEqual(obj, 16 | [ 5, 6, -3, [ 7, 8, -2, 1 ], { f: 10, g: -13 } ], 17 | 'Original references not modified' 18 | ); 19 | } 20 | 21 | -------------------------------------------------------------------------------- /node_modules/fileify/node_modules/seq/node_modules/chainsaw/node_modules/traverse/test/obj.js: -------------------------------------------------------------------------------- 1 | var assert = require('assert'); 2 | var Traverse = require('traverse'); 3 | 4 | exports['traverse an object with nested functions'] = function () { 5 | var to = setTimeout(function () { 6 | assert.fail('never ran'); 7 | }, 1000); 8 | 9 | function Cons (x) { 10 | clearTimeout(to); 11 | assert.equal(x, 10); 12 | }; 13 | Traverse(new Cons(10)); 14 | }; 15 | 16 | -------------------------------------------------------------------------------- /node_modules/fileify/node_modules/seq/node_modules/chainsaw/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "chainsaw", 3 | "version" : "0.1.0", 4 | "description" : "Build chainable fluent interfaces the easy way... with a freakin' chainsaw!", 5 | "main" : "./index.js", 6 | "repository" : { 7 | "type" : "git", 8 | "url" : "http://github.com/substack/node-chainsaw.git" 9 | }, 10 | "dependencies" : { 11 | "traverse" : ">=0.3.0 <0.4" 12 | }, 13 | "keywords" : [ 14 | "chain", 15 | "fluent", 16 | "interface", 17 | "monad", 18 | "monadic" 19 | ], 20 | "author" : "James Halliday (http://substack.net)", 21 | "license" : "MIT/X11", 22 | "engine" : { "node" : ">=0.4.0" } 23 | } 24 | -------------------------------------------------------------------------------- /node_modules/fileify/node_modules/seq/node_modules/hashish/examples/chain.js: -------------------------------------------------------------------------------- 1 | var Hash = require('hashish'); 2 | 3 | Hash({ a : 1, b : 2, c : 3, d : 4 }) 4 | .map(function (x) { return x * 10 }) 5 | .filter(function (x) { return x < 30 }) 6 | .forEach(function (x, key) { 7 | console.log(key + ' => ' + x); 8 | }) 9 | ; 10 | -------------------------------------------------------------------------------- /node_modules/fileify/node_modules/seq/node_modules/hashish/examples/map.js: -------------------------------------------------------------------------------- 1 | var Hash = require('hashish'); 2 | var obj = { a : 1, b : 2, c : 3, d : 4 }; 3 | 4 | var mapped = Hash.map(obj, function (x) { 5 | return x * 10 6 | }); 7 | console.dir(mapped); 8 | -------------------------------------------------------------------------------- /node_modules/fileify/node_modules/seq/node_modules/hashish/node_modules/traverse/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /node_modules/fileify/node_modules/seq/node_modules/hashish/node_modules/traverse/examples/json.js: -------------------------------------------------------------------------------- 1 | var traverse = require('traverse'); 2 | 3 | var id = 54; 4 | var callbacks = {}; 5 | var obj = { moo : function () {}, foo : [2,3,4, function () {}] }; 6 | 7 | var scrubbed = traverse(obj).map(function (x) { 8 | if (typeof x === 'function') { 9 | callbacks[id] = { id : id, f : x, path : this.path }; 10 | this.update('[Function]'); 11 | id++; 12 | } 13 | }); 14 | 15 | console.dir(scrubbed); 16 | console.dir(callbacks); 17 | -------------------------------------------------------------------------------- /node_modules/fileify/node_modules/seq/node_modules/hashish/node_modules/traverse/examples/leaves.js: -------------------------------------------------------------------------------- 1 | var traverse = require('traverse'); 2 | 3 | var obj = { 4 | a : [1,2,3], 5 | b : 4, 6 | c : [5,6], 7 | d : { e : [7,8], f : 9 }, 8 | }; 9 | 10 | var leaves = traverse(obj).reduce(function (acc, x) { 11 | if (this.isLeaf) acc.push(x); 12 | return acc; 13 | }, []); 14 | 15 | console.dir(leaves); 16 | -------------------------------------------------------------------------------- /node_modules/fileify/node_modules/seq/node_modules/hashish/node_modules/traverse/examples/negative.js: -------------------------------------------------------------------------------- 1 | var traverse = require('traverse'); 2 | var obj = [ 5, 6, -3, [ 7, 8, -2, 1 ], { f : 10, g : -13 } ]; 3 | 4 | traverse(obj).forEach(function (x) { 5 | if (x < 0) this.update(x + 128); 6 | }); 7 | 8 | console.dir(obj); 9 | -------------------------------------------------------------------------------- /node_modules/fileify/node_modules/seq/node_modules/hashish/node_modules/traverse/examples/scrub.js: -------------------------------------------------------------------------------- 1 | // scrub out circular references 2 | var traverse = require('traverse'); 3 | 4 | var obj = { a : 1, b : 2, c : [ 3, 4 ] }; 5 | obj.c.push(obj); 6 | 7 | var scrubbed = traverse(obj).map(function (x) { 8 | if (this.circular) this.remove() 9 | }); 10 | console.dir(scrubbed); 11 | -------------------------------------------------------------------------------- /node_modules/fileify/node_modules/seq/node_modules/hashish/node_modules/traverse/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "traverse", 3 | "version" : "0.4.6", 4 | "description" : "Traverse and transform objects by visiting every node on a recursive walk", 5 | "author" : "James Halliday", 6 | "license" : "MIT/X11", 7 | "main" : "./index", 8 | "repository" : { 9 | "type" : "git", 10 | "url" : "http://github.com/substack/js-traverse.git" 11 | }, 12 | "devDependencies" : { 13 | "expresso" : "0.7.x" 14 | }, 15 | "scripts" : { 16 | "test" : "expresso" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /node_modules/fileify/node_modules/seq/node_modules/hashish/node_modules/traverse/test/date.js: -------------------------------------------------------------------------------- 1 | var assert = require('assert'); 2 | var Traverse = require('traverse'); 3 | 4 | exports.dateEach = function () { 5 | var obj = { x : new Date, y : 10, z : 5 }; 6 | 7 | var counts = {}; 8 | 9 | Traverse(obj).forEach(function (node) { 10 | var t = (node instanceof Date && 'Date') || typeof node; 11 | counts[t] = (counts[t] || 0) + 1; 12 | }); 13 | 14 | assert.deepEqual(counts, { 15 | object : 1, 16 | Date : 1, 17 | number : 2, 18 | }); 19 | }; 20 | 21 | exports.dateMap = function () { 22 | var obj = { x : new Date, y : 10, z : 5 }; 23 | 24 | var res = Traverse(obj).map(function (node) { 25 | if (typeof node === 'number') this.update(node + 100); 26 | }); 27 | 28 | assert.ok(obj.x !== res.x); 29 | assert.deepEqual(res, { 30 | x : obj.x, 31 | y : 110, 32 | z : 105, 33 | }); 34 | }; 35 | 36 | -------------------------------------------------------------------------------- /node_modules/fileify/node_modules/seq/node_modules/hashish/node_modules/traverse/test/instance.js: -------------------------------------------------------------------------------- 1 | var assert = require('assert'); 2 | var Traverse = require('traverse'); 3 | var EventEmitter = require('events').EventEmitter; 4 | 5 | exports['check instanceof on node elems'] = function () { 6 | 7 | var counts = { emitter : 0 }; 8 | 9 | Traverse([ new EventEmitter, 3, 4, { ev : new EventEmitter }]) 10 | .forEach(function (node) { 11 | if (node instanceof EventEmitter) counts.emitter ++; 12 | }) 13 | ; 14 | 15 | assert.equal(counts.emitter, 2); 16 | }; 17 | 18 | -------------------------------------------------------------------------------- /node_modules/fileify/node_modules/seq/node_modules/hashish/node_modules/traverse/test/keys.js: -------------------------------------------------------------------------------- 1 | var assert = require('assert'); 2 | var Traverse = require('traverse'); 3 | 4 | exports['sort test'] = function () { 5 | var acc = []; 6 | Traverse({ 7 | a: 30, 8 | b: 22, 9 | id: 9 10 | }).forEach(function (node) { 11 | if ((! Array.isArray(node)) && typeof node === 'object') { 12 | this.before(function(node) { 13 | this.keys = Object.keys(node); 14 | this.keys.sort(function(a, b) { 15 | a = [a === "id" ? 0 : 1, a]; 16 | b = [b === "id" ? 0 : 1, b]; 17 | return a < b ? -1 : a > b ? 1 : 0; 18 | }); 19 | }); 20 | } 21 | if (this.isLeaf) acc.push(node); 22 | }); 23 | 24 | assert.equal( 25 | acc.join(' '), 26 | '9 30 22', 27 | 'Traversal in a custom order' 28 | ); 29 | }; 30 | -------------------------------------------------------------------------------- /node_modules/fileify/node_modules/seq/node_modules/hashish/node_modules/traverse/test/leaves.js: -------------------------------------------------------------------------------- 1 | var assert = require('assert'); 2 | var Traverse = require('traverse'); 3 | 4 | exports['leaves test'] = function () { 5 | var acc = []; 6 | Traverse({ 7 | a : [1,2,3], 8 | b : 4, 9 | c : [5,6], 10 | d : { e : [7,8], f : 9 } 11 | }).forEach(function (x) { 12 | if (this.isLeaf) acc.push(x); 13 | }); 14 | 15 | assert.equal( 16 | acc.join(' '), 17 | '1 2 3 4 5 6 7 8 9', 18 | 'Traversal in the right(?) order' 19 | ); 20 | }; 21 | 22 | -------------------------------------------------------------------------------- /node_modules/fileify/node_modules/seq/node_modules/hashish/node_modules/traverse/test/negative.js: -------------------------------------------------------------------------------- 1 | var Traverse = require('traverse'); 2 | var assert = require('assert'); 3 | 4 | exports['negative update test'] = function () { 5 | var obj = [ 5, 6, -3, [ 7, 8, -2, 1 ], { f : 10, g : -13 } ]; 6 | var fixed = Traverse.map(obj, function (x) { 7 | if (x < 0) this.update(x + 128); 8 | }); 9 | 10 | assert.deepEqual(fixed, 11 | [ 5, 6, 125, [ 7, 8, 126, 1 ], { f: 10, g: 115 } ], 12 | 'Negative values += 128' 13 | ); 14 | 15 | assert.deepEqual(obj, 16 | [ 5, 6, -3, [ 7, 8, -2, 1 ], { f: 10, g: -13 } ], 17 | 'Original references not modified' 18 | ); 19 | } 20 | 21 | -------------------------------------------------------------------------------- /node_modules/fileify/node_modules/seq/node_modules/hashish/node_modules/traverse/test/obj.js: -------------------------------------------------------------------------------- 1 | var assert = require('assert'); 2 | var Traverse = require('traverse'); 3 | 4 | exports['traverse an object with nested functions'] = function () { 5 | var to = setTimeout(function () { 6 | assert.fail('never ran'); 7 | }, 1000); 8 | 9 | function Cons (x) { 10 | clearTimeout(to); 11 | assert.equal(x, 10); 12 | }; 13 | Traverse(new Cons(10)); 14 | }; 15 | 16 | -------------------------------------------------------------------------------- /node_modules/fileify/node_modules/seq/node_modules/hashish/node_modules/traverse/test/subexpr.js: -------------------------------------------------------------------------------- 1 | var traverse = require('traverse'); 2 | var assert = require('assert'); 3 | 4 | exports.subexpr = function () { 5 | var obj = [ 'a', 4, 'b', 5, 'c', 6 ]; 6 | var r = traverse(obj).map(function (x) { 7 | if (typeof x === 'number') { 8 | this.update([ x - 0.1, x, x + 0.1 ], true); 9 | } 10 | }); 11 | 12 | assert.deepEqual(obj, [ 'a', 4, 'b', 5, 'c', 6 ]); 13 | assert.deepEqual(r, [ 14 | 'a', [ 3.9, 4, 4.1 ], 15 | 'b', [ 4.9, 5, 5.1 ], 16 | 'c', [ 5.9, 6, 6.1 ], 17 | ]); 18 | }; 19 | 20 | exports.block = function () { 21 | var obj = [ [ 1 ], [ 2 ], [ 3 ] ]; 22 | var r = traverse(obj).map(function (x) { 23 | if (Array.isArray(x) && !this.isRoot) { 24 | if (x[0] === 5) this.block() 25 | else this.update([ [ x[0] + 1 ] ]) 26 | } 27 | }); 28 | 29 | assert.deepEqual(r, [ 30 | [ [ [ [ [ 5 ] ] ] ] ], 31 | [ [ [ [ 5 ] ] ] ], 32 | [ [ [ 5 ] ] ], 33 | ]); 34 | }; 35 | -------------------------------------------------------------------------------- /node_modules/fileify/node_modules/seq/node_modules/hashish/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "hashish", 3 | "version" : "0.0.4", 4 | "description" : "Hash data structure manipulation functions", 5 | "main" : "./index.js", 6 | "repository" : { 7 | "type" : "git", 8 | "url" : "http://github.com/substack/node-hashish.git" 9 | }, 10 | "keywords": [ 11 | "hash", 12 | "object", 13 | "convenience", 14 | "manipulation", 15 | "data structure" 16 | ], 17 | "author" : { 18 | "name" : "James Halliday", 19 | "email" : "mail@substack.net", 20 | "url" : "http://substack.net" 21 | }, 22 | "dependencies" : { 23 | "traverse" : ">=0.2.4" 24 | }, 25 | "devDependencies" : { 26 | "expresso" : ">=0.6.0" 27 | }, 28 | "scripts" : { 29 | "test" : "expresso" 30 | }, 31 | "license" : "MIT/X11", 32 | "engine" : ["node >=0.2.0"] 33 | } 34 | -------------------------------------------------------------------------------- /node_modules/fileify/node_modules/seq/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "seq", 3 | "version" : "0.2.5", 4 | "description" : "Chainable asynchronous flow control with sequential and parallel primitives and pipeline-style error handling", 5 | "main" : "./index.js", 6 | "repository" : { 7 | "type" : "git", 8 | "url" : "http://github.com/substack/node-seq.git" 9 | }, 10 | "dependencies" : { 11 | "chainsaw" : ">=0.0.5", 12 | "hashish" : ">=0.0.2" 13 | }, 14 | "keywords" : [ 15 | "flow-control", "flow", "control", "async", "asynchronous", "chain", 16 | "pipeline", "sequence", "sequential", "parallel", "error" 17 | ], 18 | "author" : { 19 | "name" : "James Halliday", 20 | "email" : "mail@substack.net", 21 | "url" : "http://substack.net" 22 | }, 23 | "license" : "MIT/X11", 24 | "engine" : { "node" : ">=0.2.0" } 25 | } 26 | -------------------------------------------------------------------------------- /node_modules/fileify/node_modules/seq/test/readdir.js: -------------------------------------------------------------------------------- 1 | var assert = require('assert'); 2 | var Seq = require('seq'); 3 | var fs = require('fs'); 4 | 5 | exports.readdir = function () { 6 | var to = setTimeout(function () { 7 | assert.fail('never got to the end of the chain'); 8 | }, 500); 9 | 10 | Seq() 11 | .seq(fs.readdir, __dirname, Seq) 12 | .seq(function (files) { 13 | clearTimeout(to); 14 | assert.ok(files.length >= 2); 15 | }) 16 | .catch(assert.fail) 17 | ; 18 | }; 19 | 20 | exports.readdirs = function () { 21 | var to = setTimeout(function () { 22 | assert.fail('never got to the end of the chain'); 23 | }, 500); 24 | 25 | Seq() 26 | .par(fs.readdir, __dirname, Seq) 27 | .par(fs.readdir, __dirname + '/../examples', Seq) 28 | .seq(function (tests, examples) { 29 | clearTimeout(to); 30 | assert.ok(tests.length >= 2); 31 | assert.ok(examples.length >= 2); 32 | }) 33 | .catch(assert.fail) 34 | ; 35 | }; 36 | -------------------------------------------------------------------------------- /node_modules/fileify/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "fileify", 3 | "version" : "0.3.1", 4 | "description" : "Browserify middleware to load entire files into javascript variables", 5 | "main" : "index.js", 6 | "directories" : { 7 | "lib" : ".", 8 | "example" : "example" 9 | }, 10 | "dependencies" : { 11 | "findit" : ">=0.1.1 <0.2", 12 | "seq" : ">=0.2.5 <0.3" 13 | }, 14 | "devDependencies" : { 15 | "browserify" : ">=1.2.7 <1.3" 16 | }, 17 | "repository" : { 18 | "type" : "git", 19 | "url" : "http://github.com/substack/node-fileify.git" 20 | }, 21 | "keywords" : [ 22 | "browserify", 23 | "bundle", 24 | "middleware", 25 | "file" 26 | ], 27 | "author" : { 28 | "name" : "James Halliday", 29 | "email" : "mail@substack.net", 30 | "url" : "http://substack.net" 31 | }, 32 | "license" : "MIT/X11", 33 | "engine" : { "node" : ">=0.4" } 34 | } 35 | -------------------------------------------------------------------------------- /node_modules/fileify/test/static.js: -------------------------------------------------------------------------------- 1 | var assert = require('assert'); 2 | var browserify = require('browserify'); 3 | var fileify = require('../'); 4 | var vm = require('vm'); 5 | 6 | exports.static = function () { 7 | var src = browserify() 8 | .use(fileify('files', __dirname + '/static')) 9 | .bundle() 10 | ; 11 | 12 | var c = {}; 13 | vm.runInNewContext(src, c); 14 | assert.deepEqual(c.require('files', '/'), { 15 | 'bar.sh' : '#!/bin/bash\necho bar!\n', 16 | 'foo.txt' : 'This is the foo file!\n', 17 | 'baz/quux.js' : 'console.log(\'quux!\')\n', 18 | }); 19 | }; 20 | -------------------------------------------------------------------------------- /node_modules/fileify/test/static/bar.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | echo bar! 3 | -------------------------------------------------------------------------------- /node_modules/fileify/test/static/baz/quux.js: -------------------------------------------------------------------------------- 1 | console.log('quux!') 2 | -------------------------------------------------------------------------------- /node_modules/fileify/test/static/foo.txt: -------------------------------------------------------------------------------- 1 | This is the foo file! 2 | -------------------------------------------------------------------------------- /node_modules/fileify/test/twice.js: -------------------------------------------------------------------------------- 1 | var assert = require('assert'); 2 | var browserify = require('browserify'); 3 | var fileify = require('../'); 4 | var vm = require('vm'); 5 | 6 | exports.twice = function () { 7 | var src = browserify() 8 | .use(fileify('one', __dirname + '/static')) 9 | .use(fileify('two', __dirname + '/two')) 10 | .bundle() 11 | ; 12 | 13 | var c = {}; 14 | vm.runInNewContext(src, c); 15 | assert.deepEqual(c.require('one'), { 16 | 'bar.sh' : '#!/bin/bash\necho bar!\n', 17 | 'foo.txt' : 'This is the foo file!\n', 18 | 'baz/quux.js' : 'console.log(\'quux!\')\n', 19 | }); 20 | assert.deepEqual(c.require('two'), { 21 | 'a.txt' : 'Aa97\n', 22 | }); 23 | }; 24 | -------------------------------------------------------------------------------- /node_modules/fileify/test/two/a.txt: -------------------------------------------------------------------------------- 1 | Aa97 2 | -------------------------------------------------------------------------------- /node_modules/fileify/test/watch/subdir/z.txt: -------------------------------------------------------------------------------- 1 | 0.2167620297987014 -------------------------------------------------------------------------------- /node_modules/fileify/test/watch/x.txt: -------------------------------------------------------------------------------- 1 | 0.08701887796632946 -------------------------------------------------------------------------------- /node_modules/fileify/test/watch/y.txt: -------------------------------------------------------------------------------- 1 | 0.4676889607217163 -------------------------------------------------------------------------------- /node_modules/jquery/.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "jquery"] 2 | path = jquery 3 | url = https://github.com/jquery/jquery.git 4 | -------------------------------------------------------------------------------- /node_modules/jquery/Makefile: -------------------------------------------------------------------------------- 1 | all: wrapper 2 | 3 | build/dist/jquery.js: 4 | mkdir -p build 5 | git submodule update --init --recursive 6 | make -C jquery PREFIX=../build jquery min 7 | 8 | wrapper: dist dist/node-jquery.js dist/node-jquery.min.js 9 | 10 | dist: 11 | mkdir -p dist 12 | 13 | dist/node-jquery.js: src/header.js build/dist/jquery.js src/footer.js 14 | cat src/header.js build/dist/jquery.js src/footer.js > dist/node-jquery.js 15 | 16 | dist/node-jquery.min.js: src/header.js build/dist/jquery.min.js src/footer.js 17 | cat src/header.js build/dist/jquery.min.js src/footer.js > dist/node-jquery.min.js 18 | 19 | clean: 20 | rm -rf build dist 21 | 22 | .PHONY: all wrapper clean 23 | -------------------------------------------------------------------------------- /node_modules/jquery/jquery/.gitattributes: -------------------------------------------------------------------------------- 1 | * eol=lf 2 | *.jar binary 3 | -------------------------------------------------------------------------------- /node_modules/jquery/jquery/.gitignore: -------------------------------------------------------------------------------- 1 | src/selector.js 2 | dist 3 | .settings 4 | *~ 5 | *.diff 6 | *.patch 7 | test/qunit 8 | src/sizzle 9 | /*.html 10 | .DS_Store 11 | -------------------------------------------------------------------------------- /node_modules/jquery/jquery/build/lib/squeeze-more.js: -------------------------------------------------------------------------------- 1 | var jsp = require("./parse-js"), 2 | pro = require("./process"), 3 | slice = jsp.slice, 4 | member = jsp.member, 5 | PRECEDENCE = jsp.PRECEDENCE, 6 | OPERATORS = jsp.OPERATORS; 7 | 8 | function ast_squeeze_more(ast) { 9 | var w = pro.ast_walker(), walk = w.walk; 10 | return w.with_walkers({ 11 | "call": function(expr, args) { 12 | if (expr[0] == "dot" && expr[2] == "toString" && args.length == 0) { 13 | // foo.toString() ==> foo+"" 14 | return [ "binary", "+", expr[1], [ "string", "" ]]; 15 | } 16 | } 17 | }, function() { 18 | return walk(ast); 19 | }); 20 | }; 21 | 22 | exports.ast_squeeze_more = ast_squeeze_more; 23 | -------------------------------------------------------------------------------- /node_modules/jquery/jquery/build/post-compile.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | var print = require("sys").print, 4 | src = require("fs").readFileSync(process.argv[2], "utf8"); 5 | 6 | // Previously done in sed but reimplemented here due to portability issues 7 | print(src.replace(/^(\s*\*\/)(.+)/m, "$1\n$2;")); 8 | -------------------------------------------------------------------------------- /node_modules/jquery/jquery/speed/benchmark.js: -------------------------------------------------------------------------------- 1 | // Runs a function many times without the function call overhead 2 | function benchmark(fn, times, name){ 3 | fn = fn.toString(); 4 | var s = fn.indexOf('{')+1, 5 | e = fn.lastIndexOf('}'); 6 | fn = fn.substring(s,e); 7 | 8 | return benchmarkString(fn, times, name); 9 | } 10 | 11 | function benchmarkString(fn, times, name) { 12 | var fn = new Function("i", "var t=new Date; while(i--) {" + fn + "}; return new Date - t")(times) 13 | fn.displayName = name || "benchmarked"; 14 | return fn; 15 | } 16 | -------------------------------------------------------------------------------- /node_modules/jquery/jquery/src/intro.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * jQuery JavaScript Library v@VERSION 3 | * http://jquery.com/ 4 | * 5 | * Copyright 2011, John Resig 6 | * Dual licensed under the MIT or GPL Version 2 licenses. 7 | * http://jquery.org/license 8 | * 9 | * Includes Sizzle.js 10 | * http://sizzlejs.com/ 11 | * Copyright 2011, The Dojo Foundation 12 | * Released under the MIT, BSD, and GPL Licenses. 13 | * 14 | * Date: @DATE 15 | */ 16 | (function( window, undefined ) { 17 | 18 | // Use the correct document accordingly with window argument (sandbox) 19 | var document = window.document; 20 | -------------------------------------------------------------------------------- /node_modules/jquery/jquery/src/outro.js: -------------------------------------------------------------------------------- 1 | window.jQuery = window.$ = jQuery; 2 | })(window); 3 | -------------------------------------------------------------------------------- /node_modules/jquery/jquery/src/sizzle-jquery.js: -------------------------------------------------------------------------------- 1 | jQuery.find = Sizzle; 2 | jQuery.expr = Sizzle.selectors; 3 | jQuery.expr[":"] = jQuery.expr.filters; 4 | jQuery.unique = Sizzle.uniqueSort; 5 | jQuery.text = Sizzle.getText; 6 | jQuery.isXMLDoc = Sizzle.isXML; 7 | jQuery.contains = Sizzle.contains; 8 | -------------------------------------------------------------------------------- /node_modules/jquery/jquery/test/data/atom+xml.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /node_modules/jquery/jquery/test/data/badjson.js: -------------------------------------------------------------------------------- 1 | {bad: 1} 2 | -------------------------------------------------------------------------------- /node_modules/jquery/jquery/test/data/dashboard.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /node_modules/jquery/jquery/test/data/echoData.php: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /node_modules/jquery/jquery/test/data/echoQuery.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /node_modules/jquery/jquery/test/data/errorWithText.php: -------------------------------------------------------------------------------- 1 | 22 | -------------------------------------------------------------------------------- /node_modules/jquery/jquery/test/data/headers.php: -------------------------------------------------------------------------------- 1 | $value ) { 10 | 11 | $key = str_replace( "_" , "-" , substr( $key , 0 , 5 ) == "HTTP_" ? substr( $key , 5 ) : $key ); 12 | $headers[ $key ] = $value; 13 | 14 | } 15 | 16 | foreach( explode( "_" , $_GET[ "keys" ] ) as $key ) { 17 | echo "$key: " . @$headers[ strtoupper( $key ) ] . "\n"; 18 | } 19 | -------------------------------------------------------------------------------- /node_modules/jquery/jquery/test/data/if_modified_since.php: -------------------------------------------------------------------------------- 1 | 21 | -------------------------------------------------------------------------------- /node_modules/jquery/jquery/test/data/iframe.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | iframe 4 | 5 | 6 |
span text
7 | 8 | 9 | -------------------------------------------------------------------------------- /node_modules/jquery/jquery/test/data/json.php: -------------------------------------------------------------------------------- 1 | 14 | -------------------------------------------------------------------------------- /node_modules/jquery/jquery/test/data/json_obj.js: -------------------------------------------------------------------------------- 1 | { "data": {"lang": "en", "length": 25} } 2 | -------------------------------------------------------------------------------- /node_modules/jquery/jquery/test/data/jsonp.php: -------------------------------------------------------------------------------- 1 | 15 | -------------------------------------------------------------------------------- /node_modules/jquery/jquery/test/data/name.html: -------------------------------------------------------------------------------- 1 | ERROR 2 | -------------------------------------------------------------------------------- /node_modules/jquery/jquery/test/data/name.php: -------------------------------------------------------------------------------- 1 | $xml$result"; 12 | die(); 13 | } 14 | $name = $_REQUEST['name']; 15 | if($name == 'foo') { 16 | echo "bar"; 17 | die(); 18 | } else if($name == 'peter') { 19 | echo "pan"; 20 | die(); 21 | } 22 | 23 | echo 'ERROR '; 24 | ?> -------------------------------------------------------------------------------- /node_modules/jquery/jquery/test/data/params_html.php: -------------------------------------------------------------------------------- 1 |
2 | $value ) 4 | echo "$value"; 5 | ?> 6 |
7 |
8 | $value ) 10 | echo "$value"; 11 | ?> 12 |
-------------------------------------------------------------------------------- /node_modules/jquery/jquery/test/data/readywaitasset.js: -------------------------------------------------------------------------------- 1 | var delayedMessage = "It worked!"; 2 | -------------------------------------------------------------------------------- /node_modules/jquery/jquery/test/data/readywaitloader.js: -------------------------------------------------------------------------------- 1 | // Simple script loader that uses jQuery.readyWait 2 | 3 | //Hold on jQuery! 4 | jQuery.readyWait++; 5 | 6 | var readyRegExp = /^(complete|loaded)$/; 7 | 8 | function assetLoaded( evt ){ 9 | var node = evt.currentTarget || evt.srcElement; 10 | if ( evt.type === "load" || readyRegExp.test(node.readyState) ) { 11 | jQuery.ready(true); 12 | } 13 | } 14 | 15 | setTimeout( function() { 16 | var script = document.createElement("script"); 17 | script.type = "text/javascript"; 18 | if ( script.addEventListener ) { 19 | script.addEventListener( "load", assetLoaded, false ); 20 | } else { 21 | script.attachEvent( "onreadystatechange", assetLoaded ); 22 | } 23 | script.src = "data/readywaitasset.js"; 24 | document.getElementsByTagName("head")[0].appendChild(script); 25 | }, 2000 ); 26 | -------------------------------------------------------------------------------- /node_modules/jquery/jquery/test/data/script.php: -------------------------------------------------------------------------------- 1 | 11 | ok( true, "Script executed correctly." ); 12 | -------------------------------------------------------------------------------- /node_modules/jquery/jquery/test/data/test.html: -------------------------------------------------------------------------------- 1 | html text
2 | 6 | 7 | blabla 8 | -------------------------------------------------------------------------------- /node_modules/jquery/jquery/test/data/test.js: -------------------------------------------------------------------------------- 1 | var foobar = "bar"; 2 | jQuery('#ap').html('bar'); 3 | ok( true, "test.js executed"); 4 | -------------------------------------------------------------------------------- /node_modules/jquery/jquery/test/data/test.php: -------------------------------------------------------------------------------- 1 | html text
2 | 6 | 7 | blabla -------------------------------------------------------------------------------- /node_modules/jquery/jquery/test/data/test2.html: -------------------------------------------------------------------------------- 1 | 6 | -------------------------------------------------------------------------------- /node_modules/jquery/jquery/test/data/test3.html: -------------------------------------------------------------------------------- 1 |
This is a user
2 |
This is a user
3 |
This is a teacher
4 | -------------------------------------------------------------------------------- /node_modules/jquery/jquery/test/data/testrunner.js: -------------------------------------------------------------------------------- 1 | jQuery.noConflict(); // Allow the test to run with other libs or jQuery's. 2 | 3 | // jQuery-specific QUnit.reset 4 | (function() { 5 | var reset = QUnit.reset; 6 | var ajaxSettings = jQuery.ajaxSettings 7 | QUnit.reset = function() { 8 | reset.apply(this, arguments); 9 | jQuery.event.global = {}; 10 | jQuery.ajaxSettings = jQuery.extend({}, ajaxSettings); 11 | }; 12 | })(); 13 | 14 | // load testswarm agent 15 | (function() { 16 | var url = window.location.search; 17 | url = decodeURIComponent( url.slice( url.indexOf("swarmURL=") + 9 ) ); 18 | if ( !url || url.indexOf("http") !== 0 ) { 19 | return; 20 | } 21 | 22 | // (Temporarily) Disable Ajax tests to reduce network strain 23 | isLocal = QUnit.isLocal = true; 24 | 25 | document.write(""); 26 | })(); 27 | -------------------------------------------------------------------------------- /node_modules/jquery/jquery/test/data/text.php: -------------------------------------------------------------------------------- 1 | Lorem ipsum dolor sit amet 2 | consectetuer adipiscing elit 3 | Sed lorem leo 4 | lorem leo consectetuer adipiscing elit 5 | Sed lorem leo 6 | rhoncus sit amet 7 | elementum at 8 | bibendum at, eros 9 | Cras at mi et tortor egestas vestibulum 10 | sed Cras at mi vestibulum 11 | Phasellus sed felis sit amet 12 | orci dapibus semper. 13 | -------------------------------------------------------------------------------- /node_modules/jquery/jquery/test/data/with_fries.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 1 14 | 15 | 16 | 17 | 18 | foo 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /node_modules/jquery/jquery/test/data/with_fries_over_jsonp.php: -------------------------------------------------------------------------------- 1 | 8 | -------------------------------------------------------------------------------- /node_modules/jquery/jquery/test/xhtml.php: -------------------------------------------------------------------------------- 1 | 6 | -------------------------------------------------------------------------------- /node_modules/jquery/jquery/version.txt: -------------------------------------------------------------------------------- 1 | 1.5.1 -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/htmlparser/CHANGELOG: -------------------------------------------------------------------------------- 1 | 2 | v1.7.2 3 | * Document position feature fixed to work correctly with chunked parsing 4 | 5 | v1.7.1 6 | * Document position feature disabled until it works correctly with chunked parsing 7 | 8 | v1.7.0 9 | * Empty tag checking switch to being case insensitive [fgnass] 10 | * Added feature to include document position (row, col) in element data [fgnass] 11 | * Added parser option "includeLocation" to enable document position data 12 | 13 | v1.6.4 14 | * Fixed 'prevElement' error [Swizec] 15 | 16 | v1.6.3 17 | * Updated to support being an npm package 18 | * Fixed DomUtils.testElement() 19 | 20 | v1.6.1 21 | * Optimized DomUtils by up to 2-3x 22 | 23 | v1.6.0 24 | * Added support for RSS/Atom feeds 25 | 26 | v1.5.0 27 | * Added DefaultHandler option "enforceEmptyTags" so that XML can be parsed correctly 28 | 29 | v1.4.2 30 | * Added tests for parsing XML with namespaces 31 | 32 | v1.4.1 33 | * Added minified version 34 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/htmlparser/lib/node-htmlparser.js: -------------------------------------------------------------------------------- 1 | var htmlparser = require("./htmlparser"); 2 | exports.Parser = htmlparser.Parser; 3 | exports.DefaultHandler = htmlparser.DefaultHandler; 4 | exports.RssHandler = htmlparser.RssHandler; 5 | exports.ElementType = htmlparser.ElementType; 6 | exports.DomUtils = htmlparser.DomUtils; 7 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/htmlparser/lib/node-htmlparser.min.js: -------------------------------------------------------------------------------- 1 | var htmlparser = require("./htmlparser.min"); 2 | exports.Parser = htmlparser.Parser; 3 | exports.DefaultHandler = htmlparser.DefaultHandler; 4 | exports.RssHandler = htmlparser.RssHandler; 5 | exports.ElementType = htmlparser.ElementType; 6 | exports.DomUtils = htmlparser.DomUtils; 7 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/htmlparser/libxmljs.node: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Morriz/backbone-everywhere/27c7b99fc68d682a2605d9194fe480722a505224/node_modules/jquery/node_modules/htmlparser/libxmljs.node -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/htmlparser/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "htmlparser" 3 | , "description": "Forgiving HTML/XML/RSS Parser in JS for *both* Node and Browsers" 4 | , "version": "1.7.3" 5 | , "author": "Chris Winberry " 6 | , "contributors": [] 7 | , "repository": { 8 | "type": "git" 9 | , "url": "git://github.com/tautologistics/node-htmlparser.git" 10 | } 11 | , "bugs": { 12 | "mail": "chris@winberry.net" 13 | , "web": "http://github.com/tautologistics/node-htmlparser/issues" 14 | } 15 | , "os": [ "linux", "darwin", "freebsd", "win32" ] 16 | , "directories": { "lib": "./lib/" } 17 | , "main": "./lib/htmlparser" 18 | , "engines": { "node": ">=0.1.33" } 19 | , "licenses": [{ 20 | "type": "MIT" 21 | , "url": "http://github.com/tautologistics/node-htmlparser/raw/master/LICENSE" 22 | }] 23 | } 24 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/htmlparser/profile: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | node --prof --prof_auto profile.js 3 | ~/Documents/src/NodeJS/node-v0.1.91/deps/v8/tools/mac-tick-processor v8.log > profileresults.txt 4 | 5 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/htmlparser/pulls/node-htmlparser/CHANGELOG: -------------------------------------------------------------------------------- 1 | 2 | v1.5.0 3 | * Added DefaultHandler option "enforceEmptyTags" so that XML can be parsed correctly 4 | 5 | v1.4.2 6 | * Added tests for parsing XML with namespaces 7 | 8 | v1.4.1 9 | * Added minified version 10 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/htmlparser/pulls/node-htmlparser/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "htmlparser" 3 | , "description": "Forgiving HTML/XML/RSS Parser in JS for *both* Node and Browsers" 4 | , "version": "1.6.2" 5 | , "author": "Chris Winberry " 6 | , "contributors": [] 7 | , "repository": { 8 | "type": "git" 9 | , "url": "git://github.com/tautologistics/node-htmlparser.git" 10 | } 11 | , "bugs": { 12 | "mail": "chris@winberry.net" 13 | , "web": "http://github.com/tautologistics/node-htmlparser/issues" 14 | } 15 | , "os": [ "linux", "darwin", "freebsd" ] 16 | , "directories": { "lib": "./lib/" } 17 | , "main": "./lib/node-htmlparser" 18 | , "engines": { "node": ">=0.1.33" } 19 | , "licenses": [{ 20 | "type": "MIT" 21 | , "url": "http://github.com/tautologistics/node-htmlparser/raw/master/LICENSE" 22 | }] 23 | } 24 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/htmlparser/pulls/node-htmlparser/snippet.js: -------------------------------------------------------------------------------- 1 | //node --prof --prof_auto profile.js 2 | //deps/v8/tools/mac-tick-processor v8.log 3 | var sys = require("sys"); 4 | var htmlparser = require("./node-htmlparser"); 5 | 6 | var html = "text"; 7 | 8 | var handler = new htmlparser.DefaultHandler(function(err, dom) { 9 | if (err) 10 | sys.debug("Error: " + err); 11 | else 12 | sys.debug(sys.inspect(dom, false, null)); 13 | }, { enforceEmptyTags: true }); 14 | var parser = new htmlparser.Parser(handler); 15 | parser.parseComplete(html); 16 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/htmlparser/pulls/node-htmlparser/tests/02-single_tag_1.js: -------------------------------------------------------------------------------- 1 | (function () { 2 | 3 | function RunningInNode () { 4 | return( 5 | (typeof require) == "function" 6 | && 7 | (typeof exports) == "object" 8 | && 9 | (typeof module) == "object" 10 | && 11 | (typeof __filename) == "string" 12 | && 13 | (typeof __dirname) == "string" 14 | ); 15 | } 16 | 17 | if (!RunningInNode()) { 18 | if (!this.Tautologistics) 19 | this.Tautologistics = {}; 20 | if (!this.Tautologistics.NodeHtmlParser) 21 | this.Tautologistics.NodeHtmlParser = {}; 22 | if (!this.Tautologistics.NodeHtmlParser.Tests) 23 | this.Tautologistics.NodeHtmlParser.Tests = []; 24 | exports = {}; 25 | this.Tautologistics.NodeHtmlParser.Tests.push(exports); 26 | } 27 | 28 | exports.name = "Single Tag 1"; 29 | exports.html = "
text
"; 30 | exports.expected = 31 | [ { raw: 'br', data: 'br', type: 'tag', name: 'br' } 32 | , { raw: 'text', data: 'text', type: 'text' } 33 | ]; 34 | 35 | })(); 36 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/htmlparser/pulls/node-htmlparser/tests/03-single_tag_2.js: -------------------------------------------------------------------------------- 1 | (function () { 2 | 3 | function RunningInNode () { 4 | return( 5 | (typeof require) == "function" 6 | && 7 | (typeof exports) == "object" 8 | && 9 | (typeof module) == "object" 10 | && 11 | (typeof __filename) == "string" 12 | && 13 | (typeof __dirname) == "string" 14 | ); 15 | } 16 | 17 | if (!RunningInNode()) { 18 | if (!this.Tautologistics) 19 | this.Tautologistics = {}; 20 | if (!this.Tautologistics.NodeHtmlParser) 21 | this.Tautologistics.NodeHtmlParser = {}; 22 | if (!this.Tautologistics.NodeHtmlParser.Tests) 23 | this.Tautologistics.NodeHtmlParser.Tests = []; 24 | exports = {}; 25 | this.Tautologistics.NodeHtmlParser.Tests.push(exports); 26 | } 27 | 28 | exports.name = "Single Tag 2"; 29 | exports.html = "
text
"; 30 | exports.expected = 31 | [ { raw: 'br', data: 'br', type: 'tag', name: 'br' } 32 | , { raw: 'text', data: 'text', type: 'text' } 33 | , { raw: 'br', data: 'br', type: 'tag', name: 'br' } 34 | ]; 35 | 36 | })(); 37 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/htmlparser/pulls/node-htmlparser/tests/12-text_only.js: -------------------------------------------------------------------------------- 1 | (function () { 2 | 3 | function RunningInNode () { 4 | return( 5 | (typeof require) == "function" 6 | && 7 | (typeof exports) == "object" 8 | && 9 | (typeof module) == "object" 10 | && 11 | (typeof __filename) == "string" 12 | && 13 | (typeof __dirname) == "string" 14 | ); 15 | } 16 | 17 | if (!RunningInNode()) { 18 | if (!this.Tautologistics) 19 | this.Tautologistics = {}; 20 | if (!this.Tautologistics.NodeHtmlParser) 21 | this.Tautologistics.NodeHtmlParser = {}; 22 | if (!this.Tautologistics.NodeHtmlParser.Tests) 23 | this.Tautologistics.NodeHtmlParser.Tests = []; 24 | exports = {}; 25 | this.Tautologistics.NodeHtmlParser.Tests.push(exports); 26 | } 27 | 28 | exports.name = "Only text"; 29 | exports.html = "this is the text"; 30 | exports.expected = 31 | [ { raw: 'this is the text' 32 | , data: 'this is the text' 33 | , type: 'text' 34 | } 35 | ]; 36 | 37 | })(); 38 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/htmlparser/pulls/node-htmlparser/tests/17-xml_namespace.js: -------------------------------------------------------------------------------- 1 | (function () { 2 | 3 | function RunningInNode () { 4 | return( 5 | (typeof require) == "function" 6 | && 7 | (typeof exports) == "object" 8 | && 9 | (typeof module) == "object" 10 | && 11 | (typeof __filename) == "string" 12 | && 13 | (typeof __dirname) == "string" 14 | ); 15 | } 16 | 17 | if (!RunningInNode()) { 18 | if (!this.Tautologistics) 19 | this.Tautologistics = {}; 20 | if (!this.Tautologistics.NodeHtmlParser) 21 | this.Tautologistics.NodeHtmlParser = {}; 22 | if (!this.Tautologistics.NodeHtmlParser.Tests) 23 | this.Tautologistics.NodeHtmlParser.Tests = []; 24 | exports = {}; 25 | this.Tautologistics.NodeHtmlParser.Tests.push(exports); 26 | } 27 | 28 | exports.name = "XML Namespace"; 29 | exports.html = "text"; 30 | exports.expected = 31 | [ { raw: 'ns:tag', data: 'ns:tag', type: 'tag', name: 'ns:tag', children: [ { raw: 'text', data: 'text', type: 'text' } ] } 32 | ]; 33 | 34 | })(); 35 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/htmlparser/pulls/node-htmlparser/tests/18-enforce_empty_tags.js: -------------------------------------------------------------------------------- 1 | (function () { 2 | 3 | function RunningInNode () { 4 | return( 5 | (typeof require) == "function" 6 | && 7 | (typeof exports) == "object" 8 | && 9 | (typeof module) == "object" 10 | && 11 | (typeof __filename) == "string" 12 | && 13 | (typeof __dirname) == "string" 14 | ); 15 | } 16 | 17 | if (!RunningInNode()) { 18 | if (!this.Tautologistics) 19 | this.Tautologistics = {}; 20 | if (!this.Tautologistics.NodeHtmlParser) 21 | this.Tautologistics.NodeHtmlParser = {}; 22 | if (!this.Tautologistics.NodeHtmlParser.Tests) 23 | this.Tautologistics.NodeHtmlParser.Tests = []; 24 | exports = {}; 25 | this.Tautologistics.NodeHtmlParser.Tests.push(exports); 26 | } 27 | 28 | exports.name = "Enforce empty tags"; 29 | exports.html = "text"; 30 | exports.expected = 31 | [ 32 | { raw: 'link', data: 'link', type: 'tag', name: 'link' } 33 | , { raw: 'text', data: 'text', type: 'text' } 34 | ]; 35 | 36 | })(); 37 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/htmlparser/rssbug.js: -------------------------------------------------------------------------------- 1 | //node --prof --prof_auto profile.js 2 | //deps/v8/tools/mac-tick-processor v8.log 3 | var sys = require("sys"); 4 | var fs = require("fs"); 5 | var htmlparser = require("./node-htmlparser"); 6 | 7 | var rss = fs.readFileSync("rssbug.rss"); 8 | 9 | var handler = new htmlparser.DefaultHandler(function(err, dom) { 10 | if (err) 11 | sys.debug("Error: " + err); 12 | else 13 | sys.debug(sys.inspect(dom, false, null)); 14 | }, { verbose: false }); 15 | var parser = new htmlparser.Parser(handler); 16 | parser.parseComplete(rss); 17 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/htmlparser/rssbug.rss: -------------------------------------------------------------------------------- 1 | xxxyyy -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/htmlparser/snippet.js: -------------------------------------------------------------------------------- 1 | //node --prof --prof_auto profile.js 2 | //deps/v8/tools/mac-tick-processor v8.log 3 | var sys = require("sys"); 4 | var htmlparser = require("./htmlparser"); 5 | 6 | var html = "text"; 7 | 8 | var handler = new htmlparser.DefaultHandler(function(err, dom) { 9 | if (err) 10 | sys.debug("Error: " + err); 11 | else 12 | sys.debug(sys.inspect(dom, false, null)); 13 | }, { enforceEmptyTags: true }); 14 | var parser = new htmlparser.Parser(handler); 15 | parser.parseComplete(html); 16 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/htmlparser/tests/02-single_tag_1.js: -------------------------------------------------------------------------------- 1 | (function () { 2 | 3 | function RunningInNode () { 4 | return( 5 | (typeof require) == "function" 6 | && 7 | (typeof exports) == "object" 8 | && 9 | (typeof module) == "object" 10 | && 11 | (typeof __filename) == "string" 12 | && 13 | (typeof __dirname) == "string" 14 | ); 15 | } 16 | 17 | if (!RunningInNode()) { 18 | if (!this.Tautologistics) 19 | this.Tautologistics = {}; 20 | if (!this.Tautologistics.NodeHtmlParser) 21 | this.Tautologistics.NodeHtmlParser = {}; 22 | if (!this.Tautologistics.NodeHtmlParser.Tests) 23 | this.Tautologistics.NodeHtmlParser.Tests = []; 24 | exports = {}; 25 | this.Tautologistics.NodeHtmlParser.Tests.push(exports); 26 | } 27 | 28 | exports.name = "Single Tag 1"; 29 | exports.options = { 30 | handler: {} 31 | , parser: {} 32 | }; 33 | exports.html = "
text
"; 34 | exports.expected = 35 | [ { raw: 'br', data: 'br', type: 'tag', name: 'br' } 36 | , { raw: 'text', data: 'text', type: 'text' } 37 | ]; 38 | 39 | })(); 40 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/htmlparser/tests/12-text_only.js: -------------------------------------------------------------------------------- 1 | (function () { 2 | 3 | function RunningInNode () { 4 | return( 5 | (typeof require) == "function" 6 | && 7 | (typeof exports) == "object" 8 | && 9 | (typeof module) == "object" 10 | && 11 | (typeof __filename) == "string" 12 | && 13 | (typeof __dirname) == "string" 14 | ); 15 | } 16 | 17 | if (!RunningInNode()) { 18 | if (!this.Tautologistics) 19 | this.Tautologistics = {}; 20 | if (!this.Tautologistics.NodeHtmlParser) 21 | this.Tautologistics.NodeHtmlParser = {}; 22 | if (!this.Tautologistics.NodeHtmlParser.Tests) 23 | this.Tautologistics.NodeHtmlParser.Tests = []; 24 | exports = {}; 25 | this.Tautologistics.NodeHtmlParser.Tests.push(exports); 26 | } 27 | 28 | exports.name = "Only text"; 29 | exports.options = { 30 | handler: {} 31 | , parser: {} 32 | }; 33 | exports.html = "this is the text"; 34 | exports.expected = 35 | [ { raw: 'this is the text' 36 | , data: 'this is the text' 37 | , type: 'text' 38 | } 39 | ]; 40 | 41 | })(); 42 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/htmlparser/tests/17-xml_namespace.js: -------------------------------------------------------------------------------- 1 | (function () { 2 | 3 | function RunningInNode () { 4 | return( 5 | (typeof require) == "function" 6 | && 7 | (typeof exports) == "object" 8 | && 9 | (typeof module) == "object" 10 | && 11 | (typeof __filename) == "string" 12 | && 13 | (typeof __dirname) == "string" 14 | ); 15 | } 16 | 17 | if (!RunningInNode()) { 18 | if (!this.Tautologistics) 19 | this.Tautologistics = {}; 20 | if (!this.Tautologistics.NodeHtmlParser) 21 | this.Tautologistics.NodeHtmlParser = {}; 22 | if (!this.Tautologistics.NodeHtmlParser.Tests) 23 | this.Tautologistics.NodeHtmlParser.Tests = []; 24 | exports = {}; 25 | this.Tautologistics.NodeHtmlParser.Tests.push(exports); 26 | } 27 | 28 | exports.name = "XML Namespace"; 29 | exports.options = { 30 | handler: {} 31 | , parser: {} 32 | }; 33 | exports.html = "text"; 34 | exports.expected = 35 | [ { raw: 'ns:tag', data: 'ns:tag', type: 'tag', name: 'ns:tag', children: [ { raw: 'text', data: 'text', type: 'text' } ] } 36 | ]; 37 | 38 | })(); 39 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/htmlparser/tests/18-enforce_empty_tags.js: -------------------------------------------------------------------------------- 1 | (function () { 2 | 3 | function RunningInNode () { 4 | return( 5 | (typeof require) == "function" 6 | && 7 | (typeof exports) == "object" 8 | && 9 | (typeof module) == "object" 10 | && 11 | (typeof __filename) == "string" 12 | && 13 | (typeof __dirname) == "string" 14 | ); 15 | } 16 | 17 | if (!RunningInNode()) { 18 | if (!this.Tautologistics) 19 | this.Tautologistics = {}; 20 | if (!this.Tautologistics.NodeHtmlParser) 21 | this.Tautologistics.NodeHtmlParser = {}; 22 | if (!this.Tautologistics.NodeHtmlParser.Tests) 23 | this.Tautologistics.NodeHtmlParser.Tests = []; 24 | exports = {}; 25 | this.Tautologistics.NodeHtmlParser.Tests.push(exports); 26 | } 27 | 28 | exports.name = "Enforce empty tags"; 29 | exports.options = { 30 | handler: {} 31 | , parser: {} 32 | }; 33 | exports.html = "text"; 34 | exports.expected = 35 | [ 36 | { raw: 'link', data: 'link', type: 'tag', name: 'link' } 37 | , { raw: 'text', data: 'text', type: 'text' } 38 | ]; 39 | 40 | })(); 41 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | .svn 3 | .*.swp 4 | gmon.out 5 | v8.log 6 | node_modules 7 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/benchmark/mark.js: -------------------------------------------------------------------------------- 1 | // Taken from: http://ejohn.org/blog/javascript-benchmark-quality/ 2 | module.exports = runTest(name, test, next, callback){ 3 | var runs = [], r = 0; 4 | setTimeout(function(){ 5 | var start = Date.now(), diff = 0; 6 | 7 | for ( var n = 0; diff < 1000; n++ ) { 8 | test(); 9 | diff = Date.now() - start; 10 | } 11 | 12 | runs.push( n ); 13 | 14 | if ( r++ < 4 ) 15 | setTimeout( arguments.callee, 0 ); 16 | else { 17 | done(name, runs); 18 | if ( next ) 19 | setTimeout( next, 0 ); 20 | } 21 | }, 0); 22 | } 23 | 24 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/benchmark/stats.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Morriz/backbone-everywhere/27c7b99fc68d682a2605d9194fe480722a505224/node_modules/jquery/node_modules/jsdom/benchmark/stats.json -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/example/ender/run.js: -------------------------------------------------------------------------------- 1 | var jsdom = require("../../lib/jsdom"); 2 | 3 | jsdom.env("", ["ender.js"], function(errors, window) { 4 | if (errors) { 5 | console.error(errors); 6 | return; 7 | } 8 | window.$('body').append("
Hello World, It works!
"); 9 | console.log(window.$(".testing").text()); 10 | }); 11 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/example/jquery/run.js: -------------------------------------------------------------------------------- 1 | var jsdom = require("../../lib/jsdom"), 2 | window = jsdom.jsdom().createWindow(); 3 | 4 | // this also works: 5 | // jQueryTag.src = "http://code.jquery.com/jquery-1.4.2.js"; 6 | jsdom.jQueryify(window, "jquery.js", function() { 7 | window.jQuery('body').append("
Hello World, It works!
"); 8 | console.log(window.jQuery(".testing").text()); 9 | }); 10 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/example/pure/sax-test.js: -------------------------------------------------------------------------------- 1 | var sys = require("sys"), sax = require("./sax"); 2 | 3 | 4 | parser = sax.parser(false); 5 | 6 | sax.EVENTS.forEach(function (ev) { 7 | parser["on" + ev] = function() { sys.puts(sys.inspect(arguments)); }; 8 | }); 9 | 10 | parser.write("Welcome, to monkey land").close(); 11 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/lib/jsdom/level2/index.js: -------------------------------------------------------------------------------- 1 | exports.dom = { 2 | level2 : { 3 | core : require("./core").dom.level2.core, 4 | events : require("./events").dom.level2.events, 5 | html : require("./html").dom.level2.html 6 | } 7 | }; -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/lib/jsdom/level2/languages/javascript.js: -------------------------------------------------------------------------------- 1 | exports.javascript = function(element, code, filename) { 2 | var doc = element.ownerDocument, window = doc && doc.parentWindow; 3 | if (window) { 4 | try { 5 | window.run(code, filename); 6 | } catch (e) { 7 | element.trigger( 8 | 'error', 'Running ' + filename + ' failed.', 9 | {error: e, filename: filename} 10 | ); 11 | } 12 | } 13 | }; 14 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/lib/jsdom/level3/html.js: -------------------------------------------------------------------------------- 1 | var core = require("./core").dom.level3.core, 2 | html = require("../level2/html").dom.level2.html 3 | 4 | exports.dom = { 5 | level3 : { 6 | html : html, 7 | core : core 8 | } 9 | }; 10 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/lib/jsdom/level3/index.js: -------------------------------------------------------------------------------- 1 | module.exports.dom = { 2 | level3 : { 3 | core : require("./core").dom.level3.core, 4 | xpath : require("./xpath").xpath, 5 | events : require("./events").dom.level3.events, 6 | html : require("./html").dom.level3.html, 7 | } 8 | }; 9 | 10 | module.exports.dom.ls = require('./ls').dom.level3.ls; 11 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/lib/jsdom/selectors/index.js: -------------------------------------------------------------------------------- 1 | var Sizzle = require("./sizzle").Sizzle; 2 | exports.applyQuerySelectorPrototype = function(dom) { 3 | dom.Document.prototype.querySelector = function(selector) { 4 | return Sizzle(selector, this)[0]; 5 | }; 6 | 7 | dom.Document.prototype.querySelectorAll = function(selector) { 8 | var self = this; 9 | return new dom.NodeList(self, function() { 10 | return Sizzle(selector, self); 11 | }); 12 | }; 13 | 14 | dom.Element.prototype.querySelector = function(selector) { 15 | return Sizzle(selector, this)[0]; 16 | }; 17 | 18 | dom.Element.prototype.querySelectorAll = function(selector) { 19 | var self = this; 20 | if( !this.parentNode ){ 21 | self = this.ownerDocument.createElement("div"); 22 | self.appendChild(this); 23 | } 24 | return new dom.NodeList(self.ownerDocument, function() { 25 | return Sizzle(selector, self.parentNode || self); 26 | }); 27 | }; 28 | }; 29 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/status.json: -------------------------------------------------------------------------------- 1 | { 2 | "todo" : [ 3 | "finish implementing window", 4 | "implement dom level3/core", 5 | "implement dom level3/ls" 6 | ], 7 | "done" : [ 8 | "consider a cleaner way to do 'private' variables - NO", 9 | "dom level2/html", 10 | "dom level2/core", 11 | "dom level2/events", 12 | "investigate merging upstream changes from HEAD with dav's node-htmlparser fork", 13 | "consider implementing HTML based elements in level1 - NO", 14 | "ensure doc.documentElement is updated in long living dom documents", 15 | "pass YUI3 dom and selector tests via browser augmentation", 16 | "move node-htmlparser dependence out into a utility area", 17 | "allow YUI3 to run on top of jsdom", 18 | "run sizzle and pure templating on node", 19 | "build browser compatibility layer", 20 | "build dom level 1" 21 | ] 22 | } 23 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/LICENSE.txt: -------------------------------------------------------------------------------- 1 | all level1,level2,level3 test cases were written by the w3c 2 | see: http://www.w3.org/Consortium/Legal/2008/04-testsuite-copyright.html for licensing 3 | 4 | all other folders in this directory follow the same license as ../LICENSE.txt 5 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/all.js: -------------------------------------------------------------------------------- 1 | var path = require('path'); 2 | var r = function(suite) { 3 | return require(path.join(__dirname, suite)) 4 | } 5 | 6 | var fetch = [ 7 | "level1/core", 8 | "level1/html", 9 | "level1/svg", 10 | "level2/core", 11 | "level2/html", 12 | "level2/style", 13 | "level2/extra", 14 | "level3/core", 15 | "level3/ls", 16 | "level3/xpath", 17 | /* 18 | TODO: this needs work, will break everything if included. 19 | "window",*/ 20 | "jsdom", 21 | "sizzle" 22 | ]; 23 | 24 | module.exports = {}; 25 | 26 | 27 | // TODO: filtering 28 | fetch.forEach(function(k) { 29 | module.exports[k] = r(k); 30 | }); 31 | 32 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/jsdom/files/163.js: -------------------------------------------------------------------------------- 1 | // ensure that standard js Objects are available on the window and globally 2 | var tests = [ 3 | 'Function', 4 | 'Object', 5 | 'Date', 6 | 'Math', 7 | 'Array', 8 | 'Boolean', 9 | 'Number', 10 | 'String', 11 | 'RegExp', 12 | 'setTimeout', 13 | 'setInterval', 14 | 'clearTimeout', 15 | 'clearInterval' 16 | ]; 17 | 18 | window.hasNativeObjects = true; 19 | tests.forEach(function(key) { 20 | window.hasNativeObjects = (window.hasNativeObjects && !!window[key]); 21 | }); 22 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/jsdom/files/179.js: -------------------------------------------------------------------------------- 1 | var b = 42; 2 | window.exposed = window.b; 3 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/jsdom/files/ctx-script2.js: -------------------------------------------------------------------------------- 1 | console.log('\nIN script2.js'); 2 | 3 | console.log('this: \t\t', this); 4 | console.log('window: \t', window); 5 | this.g && console.log('g(): \t\t', g()); 6 | 7 | test(a === 101, 'a === 101'); 8 | test(window.a === 101, 'window.a === 101'); 9 | test(this.a === 101, 'this.a === 101'); 10 | 11 | test(b === 102, 'b === 102'); 12 | test(window.b === 102, 'window.b === 102'); 13 | test(this.b === 102, 'this.b === 102'); 14 | 15 | test(c === 103, 'c === 103'); 16 | test(window.c === 103, 'window.c === 103'); 17 | test(this.c === 103, 'this.c === 103'); 18 | test('c' in this, '"c" in this'); 19 | 20 | test(d === 104, 'd === 104'); 21 | test(window.d === 104, 'window.d === 104'); 22 | test(this.d === 104, 'this.d === 104'); 23 | 24 | test({}.e === 1, '{}.e === 1'); 25 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/jsdom/files/ctx-test.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/jsdom/files/env.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | hello, Node.js! 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/jsdom/files/hello.js: -------------------------------------------------------------------------------- 1 | document.getElementById("test").innerHTML = "hello from javascript"; 2 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/jsdom/files/iframe.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/jsdom/files/timer_in_context.js: -------------------------------------------------------------------------------- 1 | x = 0; 2 | setTimeout(function () { 3 | x = 1; 4 | }, 0); 5 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/jsdom/leak.js: -------------------------------------------------------------------------------- 1 | var jsdom = require('../../lib/jsdom'); 2 | 3 | function again() { 4 | jsdom.env('test', [ 5 | __dirname + '/files/jquery.js' 6 | ], function(errors, window) { 7 | window.close(); 8 | setTimeout(again, 0); 9 | }); 10 | } 11 | 12 | again(); 13 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level1/core/files/extra.xml.js: -------------------------------------------------------------------------------- 1 | var dom = require("../../../../lib/jsdom/level1/core").dom.level1.core; 2 | exports.extra = function() { 3 | 4 | var doc = new dom.Document("staff"); 5 | 6 | var splitTextTest = doc.createElement("splitTextTest"); 7 | splitTextTest.appendChild(doc.createTextNode("Split me")); 8 | splitTextTest.appendChild(doc.createElement("last")); 9 | doc.appendChild(splitTextTest); 10 | 11 | doc.normalize(); 12 | return doc; 13 | }; 14 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level1/core/files/hc_nodtdstaff.xml.js: -------------------------------------------------------------------------------- 1 | var dom = require("../../../../lib/jsdom/level1/core").dom.level1.core; 2 | exports.hc_nodtdstaff = function() { 3 | 4 | var doc = new dom.Document("html"); 5 | var implementation = new dom.DOMImplementation(doc, { 6 | "XML" : "1.0" 7 | }); 8 | 9 | doc.implementation = implementation; 10 | 11 | /* 12 | hc_nodtdstaff 13 |

14 | EMP0001 15 | Margaret Martin 16 | Accountant 17 | 56,000 18 | Female 19 | 20 | 1230 North Ave. Dallas, Texas 98551 21 |

22 | 23 | */ 24 | 25 | doc.normalize(); 26 | return doc; 27 | }; 28 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level1/html/files/hc_nodtdstaff.html.js: -------------------------------------------------------------------------------- 1 | var dom = require("../../../../lib/jsdom/level1/core").dom.level1.core; 2 | exports.hc_nodtdstaff = function() { 3 | 4 | var doc = new dom.Document("html"); 5 | var implementation = new dom.DOMImplementation(doc, { 6 | "XML" : "1.0" 7 | }); 8 | 9 | doc.implementation = implementation; 10 | 11 | /* 12 | hc_nodtdstaff 13 |

14 | EMP0001 15 | Margaret Martin 16 | Accountant 17 | 56,000 18 | Female 19 | 20 | 1230 North Ave. Dallas, Texas 98551 21 |

22 | 23 | */ 24 | 25 | doc.normalize(); 26 | return doc; 27 | }; 28 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level1/svg/files/hc_nodtdstaff.svg.js: -------------------------------------------------------------------------------- 1 | var dom = require("../../../../lib/jsdom/level1/core").dom.level1.core; 2 | exports.hc_nodtdstaff = function() { 3 | 4 | var doc = new dom.Document("html"); 5 | var implementation = new dom.DOMImplementation(doc, { 6 | "XML" : "1.0" 7 | }); 8 | 9 | doc.implementation = implementation; 10 | 11 | /* 12 | hc_nodtdstaff 13 |

14 | EMP0001 15 | Margaret Martin 16 | Accountant 17 | 56,000 18 | Female 19 | 20 | 1230 North Ave. Dallas, Texas 98551 21 |

22 | 23 | */ 24 | 25 | doc.normalize(); 26 | return doc; 27 | }; 28 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level2/core/files/orig/internalSubset01.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Morriz/backbone-everywhere/27c7b99fc68d682a2605d9194fe480722a505224/node_modules/jquery/node_modules/jsdom/test/level2/core/files/orig/internalSubset01.js -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level2/core/files/orig/nodtdstaff.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | EMP0001 5 | Margaret Martin 6 | Accountant 7 | 56,000 8 | Female 9 |
1230 North Ave. Dallas, Texas 98551
10 |
11 |
12 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level2/core/files/orig/nodtdstaff.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | EMP0001 5 | Margaret Martin 6 | Accountant 7 | 56,000 8 | Female 9 |
1230 North Ave. Dallas, Texas 98551
10 |
11 |
12 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level2/core/files/orig/staff.dtd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 12 | 15 | 17 | 18 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level2/core/files/orig/staff2.dtd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 14 | 15 | 20 | 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level2/core/files/orig/staff2.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | EMP0001 7 | Margaret Martin 8 | Accountant 9 | 56,000 10 | Female 11 |
1230 North Ave. Dallas, Texas 98551
12 |
13 |
14 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level2/core/files/orig/staff2.xml: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | 4 | 5 | 6 | EMP0001 7 | Margaret Martin 8 | Accountant 9 | 56,000 10 | Female 11 |
1230 North Ave. Dallas, Texas 98551
12 |
13 |
*/ 14 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level2/core/files/orig/svgtest.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Morriz/backbone-everywhere/27c7b99fc68d682a2605d9194fe480722a505224/node_modules/jquery/node_modules/jsdom/test/level2/core/files/orig/svgtest.js -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level2/core/files/orig/svgunit.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Morriz/backbone-everywhere/27c7b99fc68d682a2605d9194fe480722a505224/node_modules/jquery/node_modules/jsdom/test/level2/core/files/orig/svgunit.js -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level2/html/files/anchor.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | NIST DOM HTML Test - Anchor 6 | 7 | 8 |

9 | View Submit Button 10 |

11 | 12 | 13 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level2/html/files/anchor2.html: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | NIST DOM HTML Test - Anchor 7 | 8 | 9 |

10 | View Submit Button 11 |

12 | 13 | 14 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level2/html/files/applet.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | NIST DOM HTML Test - Applet 6 | 7 | 8 |

9 | 10 |

11 | 12 | 13 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level2/html/files/applet2.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | NIST DOM HTML Test - Applet 6 | 7 | 8 |

9 | 10 |

11 | 12 | 13 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level2/html/files/area.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | NIST DOM HTML Test - Area 6 | 7 | 8 |

9 | 10 | Domain 11 | 12 |

13 | 14 | 15 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level2/html/files/area2.html: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | NIST DOM HTML Test - Area 7 | 8 | 9 |

10 | 11 | Domain 12 | 13 |

14 | 15 | 16 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level2/html/files/base.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | NIST DOM HTML Test - Base 7 | 8 | 9 |

Some Text

10 | 11 | 12 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level2/html/files/base2.html: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | 7 | NIST DOM HTML Test - Base2 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level2/html/files/basefont.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | NIST DOM HTML Test - BaseFont 6 | 7 | 8 |

9 | 10 |

11 | 12 | 13 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level2/html/files/body.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | NIST DOM HTML Test - Body 6 | 7 | 8 |

Hello, World

9 | 10 | 11 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level2/html/files/br.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | NIST DOM HTML Test - BR 6 | 7 | 8 |

9 |
10 |

11 | 12 | 13 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level2/html/files/button.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | NIST DOM HTML Test - Button 6 | 7 | 8 |
9 |

10 | 11 |

12 |
13 | 14 | 15 | 18 | 19 |
16 | 17 |
20 | 21 | 22 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level2/html/files/directory.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | NIST DOM HTML Test - Directory 6 | 7 | 8 | 9 |
  • DIR item number 1.
  • 10 |
  • DIR item number 2.
  • 11 |
  • DIR item number 3.
  • 12 |
    13 | 14 | 15 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level2/html/files/div.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | NIST DOM HTML Test - DIV 6 | 7 | 8 |
    The DIV element is a generic block container. This text should be centered.
    9 | 10 | 11 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level2/html/files/dl.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | NIST DOM HTML Test - DL 6 | 7 | 8 |
    9 |
    Accountant
    10 |
    56,000
    11 |
    Female
    12 |
    1230 North Ave. Dallas, Texas 98551
    13 |
    14 | 15 | 16 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level2/html/files/fieldset.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | NIST DOM HTML Test - FieldSet 6 | 7 | 8 |
    9 |
    10 | All data entered must be valid 11 |
    12 |
    13 | 14 | 15 | 20 | 21 |
    16 |
    17 | All data entered must be valid 18 |
    19 |
    22 | 23 | 24 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level2/html/files/font.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | NIST DOM HTML Test - Font 6 | 7 | 8 | Test Tables 9 | 10 | 11 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level2/html/files/form.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | NIST DOM HTML Test - FORM 6 | 7 | 8 |
    9 |

    10 | 11 | 12 | 13 |

    14 |
    15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level2/html/files/form2.html: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | NIST DOM HTML Test - FORM 7 | 8 | 9 |
    10 |

    11 | 12 | 13 | 14 |

    15 |
    16 | 17 | 18 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level2/html/files/form3.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | FORM3 6 | 7 | 8 |
    9 |

    10 | 11 | 12 | 13 |

    14 |
    15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level2/html/files/frame.html: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | NIST DOM HTML Test - FRAME 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level2/html/files/frame2.html: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | NIST DOM HTML Test - FRAME2 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level2/html/files/frameset.html: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | NIST DOM HTML Test - FRAMESET 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level2/html/files/head.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | NIST DOM HTML Test - HEAD 6 | 7 | 8 |

    Hello, World.

    9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level2/html/files/heading.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | NIST DOM HTML Test - HEADING 6 | 7 | 8 |

    Head Element 1

    9 |

    Head Element 2

    10 |

    Head Element 3

    11 |

    Head Element 4

    12 |
    Head Element 5
    13 |
    Head Element 6
    14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level2/html/files/hr.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | NIST DOM HTML Test - HR 6 | 7 | 8 |
    9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level2/html/files/html.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | NIST DOM HTML Test - Html 6 | 7 | 8 |

    Hello, World.

    9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level2/html/files/iframe.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | NIST DOM HTML Test - IFRAME 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level2/html/files/iframe2.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | NIST DOM HTML Test - IFRAME2 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level2/html/files/img.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | NIST DOM HTML Test - IMG 6 | 7 | 8 |

    9 | DTS IMAGE LOGO 10 |

    11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level2/html/files/img/right.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Morriz/backbone-everywhere/27c7b99fc68d682a2605d9194fe480722a505224/node_modules/jquery/node_modules/jsdom/test/level2/html/files/img/right.png -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level2/html/files/img/w3c_main.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Morriz/backbone-everywhere/27c7b99fc68d682a2605d9194fe480722a505224/node_modules/jquery/node_modules/jsdom/test/level2/html/files/img/w3c_main.png -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level2/html/files/isindex.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | NIST DOM HTML Test - ISINDEX 6 | 7 | 8 |
    9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level2/html/files/js/script1.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Morriz/backbone-everywhere/27c7b99fc68d682a2605d9194fe480722a505224/node_modules/jquery/node_modules/jsdom/test/level2/html/files/js/script1.js -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level2/html/files/label.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | NIST DOM HTML Test - LABEL 6 | 7 | 8 |
    9 |

    10 | 11 | 12 |

    13 |
    14 |

    15 | 16 | 17 |

    18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level2/html/files/legend.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | NIST DOM HTML Test - LEGEND 6 | 7 | 8 |
    9 |
    10 | Enter Password1: 11 | 12 |
    13 |
    14 |
    15 | Enter Password2: 16 | 17 |
    18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level2/html/files/li.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | NIST DOM HTML Test - LI 6 | 7 | 8 |
      9 |
    1. EMP0001 10 |
        11 |
      • Margaret Martin 12 |
        13 |
        Accountant
        14 |
        56,000
        15 |
        Female
        16 |
        17 |
      • 18 |
      19 |
    2. 20 |
    21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level2/html/files/link.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | NIST DOM HTML Test - LINK 6 | 7 | 8 | 9 | 10 |

    11 |
    12 |

    13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level2/html/files/link2.html: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | NIST DOM HTML Test - LINK 7 | 8 | 9 | 10 | 11 |

    12 |
    13 |

    14 | 15 | 16 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level2/html/files/map.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | NIST DOM HTML Test - MAP 6 | 7 | 8 |

    9 | 10 | Domain1 11 | Domain2 12 | Domain3 13 | 14 |

    15 | 16 | 17 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level2/html/files/menu.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | NIST DOM HTML Test - MENU 6 | 7 | 8 | 9 |
  • Interview
  • 10 |
  • Paperwork
  • 11 |
  • Give start date
  • 12 |
    13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level2/html/files/meta.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | NIST DOM HTML Test - META 6 | 7 | 8 |

    9 |
    10 |

    11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level2/html/files/mod.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | NIST DOM HTML Test - MOD 6 | 7 | 8 |

    9 | The INS element is used to indicate that a section of a document had been inserted. 10 |
    11 | The DEL element is used to indicate that a section of a document had been removed. 12 |

    13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level2/html/files/object.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | NIST DOM HTML Test - OBJECT 6 | 7 | 8 |

    9 | 10 |

    11 |
    12 |

    13 | 14 |

    15 |
    16 | 17 | 18 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level2/html/files/object2.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | NIST DOM HTML Test - OBJECT 6 | 7 | 8 |

    9 | 10 |

    11 |
    12 |

    13 | 14 |

    15 |
    16 | 17 | 18 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level2/html/files/olist.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | NIST DOM HTML Test - OLIST 6 | 7 | 8 |
      9 |
    1. EMP0001 10 |
        11 |
      • Margaret Martin 12 |
        13 |
        Accountant
        14 |
        56,000
        15 |
        16 |
      • 17 |
      18 |
    2. 19 |
    3. EMP0002 20 |
        21 |
      • Martha Raynolds 22 |
        23 |
        Secretary
        24 |
        35,000
        25 |
        26 |
      • 27 |
      28 |
    4. 29 |
    30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level2/html/files/optgroup.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | NIST DOM HTML Test - OPTGROUP 6 | 7 | 8 |
    9 |

    10 | 21 |

    22 |
    23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level2/html/files/option.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | NIST DOM HTML Test - OPTION 6 | 7 | 8 |
    9 |

    10 | 17 |

    18 |
    19 |

    20 | 27 |

    28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level2/html/files/optionscollection.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | NIST DOM HTML Test - OPTIONSCOLLECTION 6 | 7 | 8 |
    9 |

    10 | 17 |

    18 |
    19 |

    20 | 27 |

    28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level2/html/files/paragraph.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | NIST DOM HTML Test - PARAGRAPH 6 | 7 | 8 |

    9 | TEXT 10 |

    11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level2/html/files/param.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | NIST DOM HTML Test - PARAM 6 | 7 | 8 |

    9 | 10 | 11 | 12 |

    13 | 14 | 15 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level2/html/files/pre.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | NIST DOM HTML Test - PRE 6 | 7 | 8 |
    The PRE is used to indicate pre-formatted text.  Visual agents may:
     9 | 
    10 |                 leave white space intact.
    11 |                 May render text with a fixed-pitch font.
    12 |                 May disable automatic word wrap.
    13 |                 Must not disable bidirectional processing.
    14 | 
    15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level2/html/files/quote.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | NIST DOM HTML Test - QUOTE 6 | 7 | 8 |

    9 | The Q element is intended for short quotations 10 |

    11 |
    12 |

    The BLOCKQUOTE element is used for long quotations.

    13 |
    14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level2/html/files/right.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Morriz/backbone-everywhere/27c7b99fc68d682a2605d9194fe480722a505224/node_modules/jquery/node_modules/jsdom/test/level2/html/files/right.png -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level2/html/files/script.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | NIST DOM HTML Test - SCRIPT 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level2/html/files/style.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | NIST DOM HTML Test - STYLE 7 | 8 | 9 |

    Hello, World.

    10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level2/html/files/table1.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | NIST DOM HTML Test - TABLE 6 | 7 | 8 | 9 | 10 |
    HTML can't abide empty table
    11 | 12 | 13 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level2/html/files/tablecaption.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | NIST DOM HTML Test - TABLECAPTION 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 |
    CAPTION 1
    Employee IdEmployee NamePositionSalary
    17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level2/html/files/tablecell.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | NIST DOM HTML Test - TABLECELL 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 |
    Employee IdEmployee NamePositionSalary
    EMP0001Margaret MartinAccountant56,000
    22 | 23 | 24 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level2/html/files/tablecol.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | NIST DOM HTML Test - TABLECOL 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 |
    IdNamePositionSalary
    EMP0001MartinAccountant56,000
    25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level2/html/files/title.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | NIST DOM HTML Test - TITLE 6 | 7 | 8 |

    9 |
    10 |

    11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level2/html/files/ulist.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | NIST DOM HTML Test - ULIST 6 | 7 | 8 |
      9 |
    1. EMP0001 10 |
        11 |
      • Margaret Martin 12 |
        13 |
        Accountant
        14 |
        56,000
        15 |
        Female
        16 |
        1230 North Ave. Dallas, Texas 98551
        17 |
        18 |
      • 19 |
      20 |
    2. 21 |
    3. EMP0002 22 |
        23 |
      • Martha Raynolds 24 |
        25 |
        Secretary
        26 |
        35,000
        27 |
        Female
        28 |
        1900 Dallas Road. Dallas, Texas 98554
        29 |
        30 |
      • 31 |
      32 |
    4. 33 |
    34 | 35 | 36 | 37 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level2/html/files/w3c_main.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Morriz/backbone-everywhere/27c7b99fc68d682a2605d9194fe480722a505224/node_modules/jquery/node_modules/jsdom/test/level2/html/files/w3c_main.png -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level3/core/files/barfoo.xml.js: -------------------------------------------------------------------------------- 1 | /* 3 | '> 4 | 5 | 6 | 7 | 8 | 12 | 13 | 14 | 15 | 16 | 17 | ]> 18 | 19 | 20 | replaceWholeText sample 21 | 22 | 23 |

    bar

    24 | 25 | */ 26 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level3/core/files/barfoo_nodefaultns.xml.js: -------------------------------------------------------------------------------- 1 | /* 3 | '> 4 | 5 | 6 | 7 | 8 | 9 | 10 | 14 | 15 | 16 | 17 | 18 | ]> 19 | 20 | 21 | test file 22 | 23 | 24 | bar 25 | 26 | 27 | */ -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level3/core/files/barfoo_standalone_no.xml.js: -------------------------------------------------------------------------------- 1 | /* 2 | 4 | '> 5 | 6 | 7 | 8 | 9 | 10 | 14 | 15 | 16 | 17 | 18 | ]> 19 | 20 | 21 | replaceWholeText sample 22 | 23 | 24 |

    bar

    25 | 26 | 27 | */ -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level3/core/files/barfoo_standalone_yes.xml.js: -------------------------------------------------------------------------------- 1 | /* 2 | 4 | '> 5 | 6 | 7 | 8 | 9 | 10 | 14 | 15 | 16 | 17 | 18 | ]> 19 | 20 | 21 | getXmlStandalone test doc 22 | 23 | 24 |

    bar

    25 | 26 | 27 | */ -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level3/core/files/orig/back.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Morriz/backbone-everywhere/27c7b99fc68d682a2605d9194fe480722a505224/node_modules/jquery/node_modules/jsdom/test/level3/core/files/orig/back.gif -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level3/core/files/orig/barfoo.svg: -------------------------------------------------------------------------------- 1 | 3 | '> 4 | 5 | 6 | 7 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | ]> 22 | 23 | 24 | 25 |

    bar

    26 | 27 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level3/core/files/orig/barfoo.xhtml: -------------------------------------------------------------------------------- 1 | 3 | '> 4 | 5 | 6 | 7 | 8 | 12 | 13 | 14 | 15 | 16 | 17 | ]> 18 | 19 | 20 | replaceWholeText sample 21 | 22 | 23 |

    bar

    24 | 25 | 26 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level3/core/files/orig/barfoo.xml: -------------------------------------------------------------------------------- 1 | 3 | '> 4 | 5 | 6 | 7 | 8 | 12 | 13 | 14 | 15 | 16 | 17 | ]> 18 | 19 | 20 | replaceWholeText sample 21 | 22 | 23 |

    bar

    24 | 25 | 26 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level3/core/files/orig/barfoo_base.xhtml: -------------------------------------------------------------------------------- 1 | 3 | '> 4 | 5 | 8 | 9 | 10 | 11 | 15 | 16 | 19 | 20 | 21 | ]> 22 | 23 | 24 | XML Base sample 25 | 26 | 27 |

    bar

    28 | 29 | 30 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level3/core/files/orig/barfoo_base.xml: -------------------------------------------------------------------------------- 1 | 3 | '> 4 | 5 | 8 | 9 | 10 | 11 | 15 | 16 | 19 | 20 | 21 | ]> 22 | 23 | 24 | XML Base sample 25 | 26 | 27 |

    bar

    28 | 29 | 30 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level3/core/files/orig/barfoo_base.xml.js: -------------------------------------------------------------------------------- 1 | /* 3 | '> 4 | 5 | 8 | 9 | 10 | 11 | 15 | 16 | 19 | 20 | 21 | ]> 22 | 23 | 24 | XML Base sample 25 | 26 | 27 |

    bar

    28 | 29 | 30 | */ -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level3/core/files/orig/barfoo_nodefaultns.xhtml: -------------------------------------------------------------------------------- 1 | 3 | '> 4 | 5 | 6 | 7 | 8 | 9 | 13 | 14 | 15 | 16 | 17 | 18 | ]> 19 | 20 | 21 | test file 22 | 23 | 24 | bar 25 | 26 | 27 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level3/core/files/orig/barfoo_nodefaultns.xml: -------------------------------------------------------------------------------- 1 | 3 | '> 4 | 5 | 6 | 7 | 8 | 9 | 10 | 14 | 15 | 16 | 17 | 18 | ]> 19 | 20 | 21 | test file 22 | 23 | 24 | bar 25 | 26 | 27 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level3/core/files/orig/barfoo_standalone_no.svg: -------------------------------------------------------------------------------- 1 | 2 | 4 | '> 5 | 6 | 7 | 8 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | ]> 23 | 24 | 25 | 26 |

    bar

    27 | 28 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level3/core/files/orig/barfoo_standalone_no.xhtml: -------------------------------------------------------------------------------- 1 | 2 | 4 | '> 5 | 6 | 7 | 8 | 9 | 10 | 14 | 15 | 16 | 17 | 18 | ]> 19 | 20 | 21 | replaceWholeText sample 22 | 23 | 24 |

    bar

    25 | 26 | 27 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level3/core/files/orig/barfoo_standalone_no.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | '> 5 | 6 | 7 | 8 | 9 | 10 | 14 | 15 | 16 | 17 | 18 | ]> 19 | 20 | 21 | replaceWholeText sample 22 | 23 | 24 |

    bar

    25 | 26 | 27 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level3/core/files/orig/barfoo_standalone_yes.svg: -------------------------------------------------------------------------------- 1 | 2 | 4 | '> 5 | 6 | 7 | 8 | 14 | 15 | 16 | 17 | 18 | ]> 19 | 20 | 21 | 22 |

    bar

    23 | 24 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level3/core/files/orig/barfoo_standalone_yes.xhtml: -------------------------------------------------------------------------------- 1 | 2 | 4 | '> 5 | 6 | 7 | 8 | 9 | 10 | 14 | 15 | 16 | 17 | 18 | ]> 19 | 20 | 21 | getXmlStandalone test doc 22 | 23 | 24 |

    bar

    25 | 26 | 27 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level3/core/files/orig/barfoo_standalone_yes.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | '> 5 | 6 | 7 | 8 | 9 | 10 | 14 | 15 | 16 | 17 | 18 | ]> 19 | 20 | 21 | getXmlStandalone test doc 22 | 23 | 24 |

    bar

    25 | 26 | 27 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level3/core/files/orig/barfoo_utf16.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Morriz/backbone-everywhere/27c7b99fc68d682a2605d9194fe480722a505224/node_modules/jquery/node_modules/jsdom/test/level3/core/files/orig/barfoo_utf16.svg -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level3/core/files/orig/barfoo_utf16.xhtml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Morriz/backbone-everywhere/27c7b99fc68d682a2605d9194fe480722a505224/node_modules/jquery/node_modules/jsdom/test/level3/core/files/orig/barfoo_utf16.xhtml -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level3/core/files/orig/barfoo_utf16.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Morriz/backbone-everywhere/27c7b99fc68d682a2605d9194fe480722a505224/node_modules/jquery/node_modules/jsdom/test/level3/core/files/orig/barfoo_utf16.xml -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level3/core/files/orig/barfoo_utf8.xhtml: -------------------------------------------------------------------------------- 1 | 2 | 4 | '> 5 | 6 | 7 | 8 | 9 | 10 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | ]> 21 | 22 | 23 | test file 24 | 25 | 26 |

    bar

    27 | 28 | 29 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level3/core/files/orig/barfoo_utf8.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | '> 5 | 6 | 7 | 8 | 9 | 10 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | ]> 21 | 22 | 23 | test file 24 | 25 | 26 |

    bar

    27 | 28 | 29 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level3/core/files/orig/blank.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Morriz/backbone-everywhere/27c7b99fc68d682a2605d9194fe480722a505224/node_modules/jquery/node_modules/jsdom/test/level3/core/files/orig/blank.gif -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level3/core/files/orig/canonicalform01.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | 8 | 9 | ]> 10 | 11 |

    Hello, world!

    12 | 13 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level3/core/files/orig/canonicalform01.xhtml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | 7 | canonicalform01 8 |

    Hello, world!

    9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level3/core/files/orig/canonicalform01.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | 7 | canonicalform01 8 |

    Hello, world!

    9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level3/core/files/orig/canonicalform02.svg: -------------------------------------------------------------------------------- 1 | 3 | 4 | ]> 5 | 6 | A B 7 |

    8 | A 9 | 10 | B 11 | A B 12 | C 13 |

    14 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level3/core/files/orig/canonicalform02.xhtml: -------------------------------------------------------------------------------- 1 | canonicalform02 2 | 3 | A B 4 |

    5 | A 6 | 7 | B 8 | A B 9 | C 10 |

    11 | 12 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level3/core/files/orig/canonicalform02.xml: -------------------------------------------------------------------------------- 1 | canonicalform02 2 | 3 | A B 4 |

    5 | A 6 | 7 | B 8 | A B 9 | C 10 |

    11 | 12 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level3/core/files/orig/canonicalform03.svg: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | ]> 6 | 7 |
    8 |

    9 |
    10 |
    11 |
    15 |
    16 |
    17 |
    18 | 19 |
    20 |
    21 |
    22 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level3/core/files/orig/canonicalform03.xhtml: -------------------------------------------------------------------------------- 1 | ]> 2 | canonicalform03 3 |
    4 |

    5 |
    6 |
    7 |
    11 |
    12 |
    13 |
    14 | 15 |
    16 |
    17 |
    18 | 19 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level3/core/files/orig/canonicalform03.xml: -------------------------------------------------------------------------------- 1 | ]> 2 | canonicalform03 3 |
    4 |

    5 |
    6 |
    7 |
    11 |
    12 |
    13 |
    14 | 15 |
    16 |
    17 |
    18 | 19 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level3/core/files/orig/canonicalform04.svg: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | ]> 7 | 8 | First line Second line 9 | 2 10 | "0" && value<"10" ?"valid":"error"]]> 11 | valid 12 |
    13 |
    14 |
    15 | 16 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level3/core/files/orig/canonicalform04.xhtml: -------------------------------------------------------------------------------- 1 | 3 | 4 | ]> 5 | canonicalform04 6 | First line Second line 7 | 2 8 | "0" && value<"10" ?"valid":"error"]]> 9 | valid 10 |
    11 |
    12 |
    13 | 14 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level3/core/files/orig/canonicalform04.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | ]> 5 | canonicalform04 6 | First line Second line 7 | 2 8 | "0" && value<"10" ?"valid":"error"]]> 9 | valid 10 |
    11 |
    12 |
    13 | 14 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level3/core/files/orig/canonicalform05.svg: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | ]> 10 | 11 |

    12 | &ent1;, &ent2;! 13 |

    14 | 15 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level3/core/files/orig/canonicalform05.xhtml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | 7 | ]> 8 | canonicalform05 9 |

    10 | &ent1;, &ent2;! 11 |

    12 | 13 | 14 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level3/core/files/orig/canonicalform05.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | 7 | ]> 8 | canonicalform05 9 |

    10 | &ent1;, &ent2;! 11 |

    12 | 13 | 14 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level3/core/files/orig/external_foo.ent: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Morriz/backbone-everywhere/27c7b99fc68d682a2605d9194fe480722a505224/node_modules/jquery/node_modules/jsdom/test/level3/core/files/orig/external_foo.ent -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level3/core/files/orig/external_foobr.ent: -------------------------------------------------------------------------------- 1 |
    foo -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level3/core/files/orig/external_widget.ent: -------------------------------------------------------------------------------- 1 |

    widget

    2 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level3/core/files/orig/hc_nodtdstaff.html: -------------------------------------------------------------------------------- 1 | hc_nodtdstaff 2 |

    3 | EMP0001 4 | Margaret Martin 5 | Accountant 6 | 56,000 7 | Female 8 | 1230 North Ave. Dallas, Texas 98551 9 |

    10 | 11 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level3/core/files/orig/hc_nodtdstaff.html.1: -------------------------------------------------------------------------------- 1 | hc_nodtdstaff 2 |

    3 | EMP0001 4 | Margaret Martin 5 | Accountant 6 | 56,000 7 | Female 8 | 1230 North Ave. Dallas, Texas 98551 9 |

    10 | 11 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level3/core/files/orig/hc_nodtdstaff.svg: -------------------------------------------------------------------------------- 1 | hc_nodtdstaff 2 |

    3 | EMP0001 4 | Margaret Martin 5 | Accountant 6 | 56,000 7 | Female 8 | 1230 North Ave. Dallas, Texas 98551 9 |

    10 | 11 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level3/core/files/orig/hc_nodtdstaff.xhtml: -------------------------------------------------------------------------------- 1 | hc_nodtdstaff 2 |

    3 | EMP0001 4 | Margaret Martin 5 | Accountant 6 | 56,000 7 | Female 8 | 1230 North Ave. Dallas, Texas 98551 9 |

    10 | 11 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level3/core/files/orig/hc_nodtdstaff.xml: -------------------------------------------------------------------------------- 1 | hc_nodtdstaff 2 |

    3 | EMP0001 4 | Margaret Martin 5 | Accountant 6 | 56,000 7 | Female 8 | 1230 North Ave. Dallas, Texas 98551 9 |

    10 | 11 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level3/core/files/orig/image2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Morriz/backbone-everywhere/27c7b99fc68d682a2605d9194fe480722a505224/node_modules/jquery/node_modules/jsdom/test/level3/core/files/orig/image2.gif -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level3/core/files/orig/svgtest.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Morriz/backbone-everywhere/27c7b99fc68d682a2605d9194fe480722a505224/node_modules/jquery/node_modules/jsdom/test/level3/core/files/orig/svgtest.js -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level3/core/files/orig/svgunit.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Morriz/backbone-everywhere/27c7b99fc68d682a2605d9194fe480722a505224/node_modules/jquery/node_modules/jsdom/test/level3/core/files/orig/svgunit.js -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level3/core/files/orig/text.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Morriz/backbone-everywhere/27c7b99fc68d682a2605d9194fe480722a505224/node_modules/jquery/node_modules/jsdom/test/level3/core/files/orig/text.gif -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level3/core/files/orig/typeinfo.xhtml: -------------------------------------------------------------------------------- 1 | 2 | 8 | ]> 9 | hc_staff 12 | 13 |

    foo1 foo2

    14 |

    1unbounded

    15 |

    12748

    16 |

    3.1415926 2.718

    17 | 18 | 19 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level3/core/files/orig/typeinfo.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | ]> 9 | hc_staff 12 | 13 |

    foo1 foo2

    14 |

    1unbounded

    15 |

    12748

    16 |

    3.1415926 2.718

    17 | 18 | 19 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level3/core/files/orig/unknown.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Morriz/backbone-everywhere/27c7b99fc68d682a2605d9194fe480722a505224/node_modules/jquery/node_modules/jsdom/test/level3/core/files/orig/unknown.gif -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/level3/core/files/typeinfo.xml.js: -------------------------------------------------------------------------------- 1 | /* 2 | 8 | ]> 9 | hc_staff 12 | 13 |

    foo1 foo2

    14 |

    1unbounded

    15 |

    12748

    16 |

    3.1415926 2.718

    17 | 18 | 19 | */ -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/sizzle/files/with_fries.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 1 14 | 15 | 16 | 17 | 18 | foo 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /node_modules/jquery/node_modules/jsdom/test/sizzle/support/selector.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Morriz/backbone-everywhere/27c7b99fc68d682a2605d9194fe480722a505224/node_modules/jquery/node_modules/jsdom/test/sizzle/support/selector.js -------------------------------------------------------------------------------- /node_modules/jquery/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "jquery", 3 | "description" : "jQuery: The Write Less, Do More, JavaScript Library", 4 | "url" : "jquery.com", 5 | "keywords" : ["util", "dom", "jquery"], 6 | "author" : "John Resig ", 7 | "contributors" : [], 8 | "dependencies" : { 9 | "jsdom": ">=0.2.0" 10 | , "htmlparser": ">= 1.7.3" 11 | }, 12 | "lib" : "lib", 13 | "main" : "./dist/node-jquery.js", 14 | "version" : "1.6.2" 15 | } 16 | -------------------------------------------------------------------------------- /node_modules/jquery/src/footer.js: -------------------------------------------------------------------------------- 1 | return window.jQuery; 2 | } 3 | if ('undefined' === typeof module) { module = {}; } 4 | module.exports = create('undefined' === typeof window ? undefined : window); 5 | module.exports.create = create; 6 | if ('undefined' === typeof provide) { provide = function () {}; } 7 | provide('jquery'); 8 | }()); 9 | 10 | -------------------------------------------------------------------------------- /node_modules/jquery/src/header.js: -------------------------------------------------------------------------------- 1 | (function () { 2 | function create(window) { 3 | var location, navigator, XMLHttpRequest; 4 | 5 | window = window || require('jsdom').jsdom().createWindow(); 6 | location = window.location || {}; 7 | navigator = window.navigator || { userAgent: "Node.js" }; 8 | 9 | if (('function' !== typeof window.XMLHttpRequest && 'object' !== typeof window.XMLHttpRequest) && 'function' !== typeof window.ActiveXObject) { 10 | window.XMLHttpRequest = function () {}; 11 | // TODO 12 | // node-XMLHttpRequest, Zombie, or AHR needs a good XMLHttpRequestneeds to be put on npm 13 | } 14 | 15 | 16 | -------------------------------------------------------------------------------- /node_modules/jquery/tests/local-test.js: -------------------------------------------------------------------------------- 1 | (function (undefined) { 2 | var jsdom = require('jsdom').jsdom, 3 | myWindow = jsdom().createWindow(), 4 | $ = require('../dist/node-jquery'), 5 | jq = require('../dist/node-jquery').create(), 6 | jQuery = require('../dist/node-jquery').create(myWindow); 7 | 8 | $("

    test passes

    ").appendTo("body"); 9 | console.log($("body").html()); 10 | 11 | jq("

    other test passes

    ").appendTo("body"); 12 | console.log(jq("body").html()); 13 | 14 | jQuery("

    third test passes

    ").appendTo("body"); 15 | console.log(jQuery("body").html()); 16 | 17 | }()); 18 | -------------------------------------------------------------------------------- /node_modules/jquery/tests/npm-installed-test.js: -------------------------------------------------------------------------------- 1 | (function (undefined) { 2 | var jsdom = require('jsdom').jsdom, 3 | myWindow = jsdom().createWindow(), 4 | $ = require('jquery'), 5 | jq = require('jquery').create(), 6 | jQuery = require('jquery').create(myWindow); 7 | 8 | $("

    test passes

    ").appendTo("body"); 9 | console.log($("body").html()); 10 | 11 | jq("

    other test passes

    ").appendTo("body"); 12 | console.log(jq("body").html()); 13 | 14 | jQuery("

    third test passes

    ").appendTo("body"); 15 | console.log(jQuery("body").html()); 16 | }()); 17 | -------------------------------------------------------------------------------- /node_modules/jsonrpc2/Makefile: -------------------------------------------------------------------------------- 1 | NODE = env NODE_PATH=src node 2 | 3 | test: .PHONY 4 | ls -1 test/*-test.js | xargs -n 1 $(NODE) 5 | 6 | .PHONY: 7 | -------------------------------------------------------------------------------- /node_modules/jsonrpc2/examples/client.js: -------------------------------------------------------------------------------- 1 | var sys = require('sys'); 2 | var rpc = require('../src/jsonrpc'); 3 | 4 | var client = rpc.getClient(8000, 'localhost'); 5 | 6 | client.call('add', [1, 2], function(result) { 7 | sys.puts(' 1 + 2 = ' + result); 8 | }); 9 | 10 | client.call('multiply', [199, 2], function(result) { 11 | sys.puts('199 * 2 = ' + result); 12 | }); 13 | 14 | // Accessing modules is as simple as dot-prefixing. 15 | client.call('math.power', [3, 3], function(result) { 16 | sys.puts(' 3 ^ 3 = ' + result); 17 | }); 18 | 19 | // Call simply returns a promise, so we can add callbacks or errbacks at will. 20 | var promise = client.call('add', [1, 1]); 21 | promise.addCallback(function(result) { 22 | sys.puts(' 1 + 1 = ' + result + ', dummy!'); 23 | }); 24 | 25 | /* These calls should each take 1.5 seconds to complete. */ 26 | client.call('delayed.add', [1, 1, 1500], function(result) { 27 | sys.puts(result); 28 | }); 29 | 30 | client.call('delayed.echo', ['Echo.', 1500], function(result) { 31 | sys.puts(result); 32 | }); -------------------------------------------------------------------------------- /node_modules/jsonrpc2/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "jsonrpc2", 3 | "version": "0.0.6", 4 | "description": "JSON-RPC server and client library", 5 | "main": "./src/jsonrpc", 6 | "keywords": [ 7 | "json", 8 | "rpc", 9 | "server", 10 | "client" 11 | ], 12 | 13 | "author": "Eric Florenzano (eflorenzano.com)", 14 | 15 | "contributors": [ 16 | "Bill Casarin (jb55.com)", 17 | "Stefan Thomas (justmoon.net)" 18 | ], 19 | 20 | "repository": { 21 | "type": "git", 22 | "url": "git://github.com/bitcoinjs/node-jsonrpc2.git" 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /public/css/destroy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Morriz/backbone-everywhere/27c7b99fc68d682a2605d9194fe480722a505224/public/css/destroy.png -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Morriz/backbone-everywhere/27c7b99fc68d682a2605d9194fe480722a505224/public/favicon.ico -------------------------------------------------------------------------------- /public/jquery-rpc-test.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 11 | 27 | 28 | 29 |
    noo!
    30 | 31 | 32 | -------------------------------------------------------------------------------- /public/js/app.js: -------------------------------------------------------------------------------- 1 | var routers = require('./routers/index'); 2 | var Backbone = require('./backbone-modified'); 3 | 4 | var startApp = function (backBoneOptions) { 5 | 6 | backBoneOptions = backBoneOptions || {}; 7 | 8 | // register routers 9 | for (var i in routers) { 10 | new routers[i](); 11 | } 12 | 13 | // start listening for path changes 14 | backBoneOptions.pushState = true; 15 | Backbone.history.start(backBoneOptions); 16 | } 17 | 18 | module.exports = startApp; -------------------------------------------------------------------------------- /public/js/clientonly.js: -------------------------------------------------------------------------------- 1 | // make templates global because the views expect it 2 | templates = require('templates'); 3 | 4 | ONSERVER = false; 5 | ONCLIENT = !ONSERVER; 6 | 7 | // disable server funcs 8 | ifServerSendFullHtmlToClient = function () { 9 | }; 10 | 11 | // setup backbone redis 12 | var Sync = require('./backbone.redis'); 13 | var socket = io.connect(); 14 | Sync.config({ 15 | io: socket 16 | }); 17 | //and set to use redis storage through client socket 18 | var Backbone = require('backbone'); 19 | var _ = require('underscore'); 20 | Backbone.sync = _.sync; 21 | 22 | // and kick off 23 | var app = require('./app'); 24 | $(document).ready(app); 25 | -------------------------------------------------------------------------------- /public/js/models/SongCollection.js: -------------------------------------------------------------------------------- 1 | var Backbone = require('../backbone-modified'); 2 | var SongModel = require('./SongModel'); 3 | 4 | module.exports = Backbone.Collection.extend({ 5 | 6 | type: 'songs', 7 | 8 | model: SongModel, 9 | 10 | orderBy: 'title', 11 | 12 | // Filter down the list of all song items that are published. 13 | published: function () { 14 | return this.filter(function (song) { 15 | return song.get('published'); 16 | }); 17 | }, 18 | 19 | // Filter down the list to only song items that are still not published. 20 | remaining: function () { 21 | return this.without.apply(this, this.published()); 22 | }, 23 | 24 | // We keep the songs in sequential order, despite being saved by unordered 25 | // GUID in the database. This generates the next order number for new items. 26 | nextOrder: function () { 27 | if (!this.length) return 1; 28 | return this.last().get('order') + 1; 29 | }, 30 | }); 31 | -------------------------------------------------------------------------------- /public/js/models/TrackCollection.js: -------------------------------------------------------------------------------- 1 | var Backbone = require('../backbone-modified'); 2 | var TrackModel = require('./TrackModel'); 3 | 4 | module.exports = Backbone.Collection.extend({ 5 | 6 | type: 'tracks', 7 | 8 | model: TrackModel, 9 | 10 | orderBy: 'title', 11 | 12 | // Filter down the list of all track items that are published. 13 | published: function () { 14 | return this.filter(function (track) { 15 | return track.get('published'); 16 | }); 17 | }, 18 | 19 | // Filter down the list to only track items that are still not published. 20 | remaining: function () { 21 | return this.without.apply(this, this.published()); 22 | }, 23 | 24 | // We keep the tracks in sequential order, despite being saved by unordered 25 | // GUID in the database. This generates the next order number for new items. 26 | nextOrder: function () { 27 | if (!this.length) return 1; 28 | return this.last().get('order') + 1; 29 | }, 30 | }); 31 | -------------------------------------------------------------------------------- /public/js/models/TrackModel.js: -------------------------------------------------------------------------------- 1 | var Backbone = require('../backbone-modified'); 2 | 3 | module.exports = Backbone.Model.extend({ 4 | 5 | type: 'tracks', 6 | 7 | indexProps: ['title', 'published'], 8 | 9 | extKeys: ['authorId', 'groupId', 'songId'], 10 | 11 | // Default attributes for the track. 12 | defaults: { 13 | title: "empty title...", 14 | author: 'john doe', 15 | source: '/sample.aac', 16 | published: false, 17 | authorId: 1, 18 | groupId: null 19 | }, 20 | 21 | initialize: function () { 22 | // too bad bb events won't accepts an array of event names: 23 | this.bind('remove', this._removeView, this); 24 | this.bind('destroy', this._removeView, this); 25 | }, 26 | 27 | // Toggle the `published` state of this track. 28 | toggle: function () { 29 | this.save({ 30 | published: !this.get("published") 31 | }); 32 | }, 33 | 34 | _removeView: function () { 35 | if (this.view) this.view.remove(); 36 | }, 37 | }); 38 | -------------------------------------------------------------------------------- /public/js/models/UserCollection.js: -------------------------------------------------------------------------------- 1 | var Backbone = require('../backbone-modified'); 2 | var UserModel = require('./UserModel'); 3 | 4 | module.exports = Backbone.Collection.extend({ 5 | 6 | type: 'users', 7 | 8 | model: UserModel, 9 | 10 | orderBy: 'lastName', 11 | 12 | // Filter down the list of all user items that are published. 13 | published: function () { 14 | return this.filter(function (user) { 15 | return user.get('published'); 16 | }); 17 | }, 18 | 19 | // Filter down the list to only user items that are still not published. 20 | remaining: function () { 21 | return this.without.apply(this, this.published()); 22 | }, 23 | 24 | // We keep the users in sequential order, despite being saved by unordered 25 | // GUID in the database. This generates the next order number for new items. 26 | nextOrder: function () { 27 | if (!this.length) return 1; 28 | return this.last().get('order') + 1; 29 | }, 30 | }); 31 | -------------------------------------------------------------------------------- /public/js/models/UserModel.js: -------------------------------------------------------------------------------- 1 | var Backbone = require('../backbone-modified'); 2 | 3 | module.exports = Backbone.Model.extend({ 4 | 5 | type: 'users', 6 | 7 | // Default attributes for the user. 8 | defaults: { 9 | firstName: 'empty first name...', 10 | lastName: 'empty last name...', 11 | middleName: 'empty middle name...', 12 | published: false 13 | }, 14 | 15 | initialize: function () { 16 | // too bad bb events won't accepts an array of event names: 17 | this.bind('remove', this._removeView, this); 18 | this.bind('destroy', this._removeView, this); 19 | }, 20 | 21 | // Toggle the 'published' state of this user. 22 | toggle: function () { 23 | this.save({ 24 | published: !this.get('published') 25 | }); 26 | }, 27 | 28 | _removeView: function () { 29 | if (this.view) this.view.remove(); 30 | } 31 | }); 32 | -------------------------------------------------------------------------------- /public/js/models/index.js: -------------------------------------------------------------------------------- 1 | if (typeof module === 'undefined') { 2 | module = {}; 3 | } 4 | module.exports = { 5 | User: require('./UserModel'), 6 | UserCollection: require('./UserCollection'), 7 | Song: require('./SongModel'), 8 | SongCollection: require('./SongCollection'), 9 | Track: require('./TrackModel'), 10 | TrackCollection: require('./TrackCollection') 11 | } 12 | -------------------------------------------------------------------------------- /public/js/routers/index.js: -------------------------------------------------------------------------------- 1 | if (typeof module === 'undefined') { 2 | module = {}; 3 | } 4 | module.exports = { 5 | Song: require('./SongRouter'), 6 | Track: require('./TrackRouter') 7 | } 8 | -------------------------------------------------------------------------------- /public/js/templates/song.ejs: -------------------------------------------------------------------------------- 1 | 2 |
    3 |

    Song Details

    4 |
    5 |
    6 |
    7 |
    8 | Title: <%= title %>
    9 | Checked: <%= published %> 10 |
    11 |
    12 |
    13 |
    14 | -------------------------------------------------------------------------------- /public/js/templates/songlist.ejs: -------------------------------------------------------------------------------- 1 | 2 |
    3 |

    Song List

    4 |
    5 |
    6 |
    7 | 8 |
    9 |
    10 |
    11 |
    12 | -------------------------------------------------------------------------------- /public/js/templates/songlistItem.ejs: -------------------------------------------------------------------------------- 1 |
    2 |
    3 | /> 4 |
    5 | <%= title %> 6 |
    7 | 8 |
    9 |
    10 | 11 |
    12 |
    -------------------------------------------------------------------------------- /public/js/templates/songlistStats.ejs: -------------------------------------------------------------------------------- 1 | <% if (total) { %> 2 | 3 | <%= remaining %> 4 | <%= remaining == 1 ? 'item' : 'items' %> left. 5 | 6 | <% } %> 7 | <% if (published) { %> 8 | 9 | 10 | Clear <%= published %> 11 | checked <%= published == 1 ? 'item' : 'items' %> 12 | 13 | 14 | <% } %> 15 | -------------------------------------------------------------------------------- /public/js/templates/track.ejs: -------------------------------------------------------------------------------- 1 | 2 |
    3 |

    Track Details

    4 |
    5 |
    6 | Author: <%= author %>
    7 | Title: <%= title %>
    8 | Published: <%= published %>
    9 | Audio: 10 | 14 |
    15 | -------------------------------------------------------------------------------- /public/js/templates/tracklist.ejs: -------------------------------------------------------------------------------- 1 | 2 |
    3 |

    Track List

    4 |
    5 |
    6 |
    7 | 8 |
    9 |
    10 |
    11 |
    12 | -------------------------------------------------------------------------------- /public/js/templates/tracklistItem.ejs: -------------------------------------------------------------------------------- 1 | 2 |
    3 |
    4 | /> 5 |
    6 | <%= title %> 7 |
    8 | 9 |
    10 |
    11 | 12 |
    13 |
    -------------------------------------------------------------------------------- /public/js/templates/tracklistStats.ejs: -------------------------------------------------------------------------------- 1 | <% if (total) { %> 2 | 3 | <%= remaining %> 4 | <%= remaining == 1 ? 'item' : 'items' %> left. 5 | 6 | <% } %> 7 | <% if (published) { %> 8 | 9 | 10 | Clear <%= published %> 11 | checked <%= published == 1 ? 'item' : 'items' %> 12 | 13 | 14 | <% } %> 15 | -------------------------------------------------------------------------------- /public/js/views/index.js: -------------------------------------------------------------------------------- 1 | if (typeof module === 'undefined') { 2 | module = {}; 3 | } 4 | module.exports = { 5 | SongList: require('./SongListView'), 6 | SongListItem: require('./SongListItemView'), 7 | Song: require('./SongView'), 8 | TrackList: require('./TrackListView'), 9 | TrackListItem: require('./TrackListItemView'), 10 | Track: require('./TrackView') 11 | } 12 | --------------------------------------------------------------------------------