fune/servo/resources/user-agent-js/00.example.js
Manish Goregaokar 0af6669a72 servo: Merge #5298 - Basic userscript support (from Manishearth:userscript); r=saneyuki
Gives us a place to store polyfills and other userscripts so that we can:

 - Quickly determine what DOM features are needed to make stuff like jQuery work by iteratively writing stub implementations
 - Write spec-incompatible but "good enough" polyfills for stuff like jQuery to make Servo more testable on live sites, for demos, and for browser.html


r? @jdm

cc @eddyb

Source-Repo: https://github.com/servo/servo
Source-Revision: 72e2c79a089ff6654a36951ce4aedac62006e6a1
2015-03-22 08:27:48 -06:00

5 lines
283 B
JavaScript

// Keep files in this directory which you would like executed before
// any other script when servo is run with `--userscripts`
// Files are sorted alphabetically. When committing polyfills
// order them with numbers, e.g. `01.innerhtml.js` will be executed before
// `05.jquery.js`