CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Sun, 17 Aug 2025 00:53:45 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20100414113218
location: https://web.archive.org/web/20100414113218/https://github.com/thatcher/env-js/tree/1.0.0/
server-timing: captures_list;dur=1.242649, exclusion.robots;dur=0.042835, exclusion.robots.policy;dur=0.017725, esindex;dur=0.021471, cdx.remote;dur=82.890615, LoadShardBlock;dur=706.188502, PetaboxLoader3.datanode;dur=483.272126, PetaboxLoader3.resolve;dur=74.289000
x-app-server: wwwb-app225
x-ts: 302
x-tr: 831
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie: wb-p-SERVER=wwwb-app225; path=/
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 200
server: nginx
date: Sun, 17 Aug 2025 00:53:47 GMT
content-type: text/html; charset=utf-8
x-archive-orig-server: nginx/0.7.61
x-archive-orig-date: Wed, 14 Apr 2010 11:32:18 GMT
x-archive-orig-connection: close
x-archive-orig-status: 200 OK
x-archive-orig-etag: "d68bf25230c7ff6e423b5499bf4e7d18"
x-archive-orig-x-runtime: 508ms
x-archive-orig-content-length: 31797
x-archive-orig-cache-control: private, max-age=0, must-revalidate
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Wed, 14 Apr 2010 11:32:18 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Wed, 14 Apr 2010 11:32:18 GMT", ; rel="memento"; datetime="Wed, 14 Apr 2010 11:32:18 GMT", ; rel="next memento"; datetime="Thu, 15 Apr 2010 17:53:11 GMT", ; rel="last memento"; datetime="Thu, 15 Apr 2010 17:53:11 GMT"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: 52_15_20100414100056_crawl100_IndexOnly-c/52_15_20100414113134_crawl101.arc.gz
server-timing: captures_list;dur=0.441141, exclusion.robots;dur=0.014419, exclusion.robots.policy;dur=0.007229, esindex;dur=0.011535, cdx.remote;dur=8.308692, LoadShardBlock;dur=208.274694, PetaboxLoader3.resolve;dur=400.171269, PetaboxLoader3.datanode;dur=693.540929, load_resource;dur=915.735807
x-app-server: wwwb-app225
x-ts: 200
x-tr: 1216
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
content-encoding: gzip
thatcher's env-js at 1.0.0 - GitHub
thatcher / env-js forked from jeresig/env-js
- Source
- Commits
- Network (20)
- Issues (0)
- Downloads (12)
- Wiki (3)
- Graphs
-
Tag:
1.0.0
click here to add a description
click here to add a homepage

thatcher (author)
Wed Sep 09 22:22:43 -0700 2009
env-js /
name | age | message | |
---|---|---|---|
![]() |
.gitignore | Loading commit data... ![]() |
|
![]() |
.project | Wed May 20 06:54:39 -0700 2009 | added xpath and xslt related stubs to satisfy p... [thatcher] |
![]() |
DTD/ | Mon Nov 17 22:09:03 -0800 2008 | theres a hole in the bucket [thatcher] |
![]() |
Makefile | Sun Aug 16 18:02:09 -0700 2009 | did some refactoring of Glen E. Iveys substanti... [thatcher] |
![]() |
README | ||
![]() |
Rakefile | Sun Aug 16 18:02:09 -0700 2009 | did some refactoring of Glen E. Iveys substanti... [thatcher] |
![]() |
bin/ | ||
![]() |
build.properties | ||
![]() |
build.xml | ||
![]() |
dist/ | ||
![]() |
doc/ | Thu Aug 20 07:26:23 -0700 2009 | found some good little bugs in node insertBefor... [thatcher] |
![]() |
jsl/ | Thu Jan 15 13:28:15 -0800 2009 | oops I think I just commited incorrectly [thatcher] |
![]() |
licenses/ | Tue Aug 25 21:56:29 -0700 2009 | merging glens envjs.main changes. used in comb... [thatcher] |
![]() |
rhino/ | ||
![]() |
src/ | ||
![]() |
test/ |
README
env.js : A pure JavaScript browser environment. Developed by John Resig (https://ejohn.org) Major Contributers: Chris Thatcher (https://github.com/thatcher) GitHub repositories: https://github.com/jeresig/env-js/ https://github.com/thatcher/env-js/ Mailing List: https://groups.google.com/group/envjs Lighthouse (Bug Tracking): https://envjs.lighthouseapp.com/projects/21590-envjs/ Build Status: https://runcoderun.com/thatcher/env-js Original blog post: https://ejohn.org/projects/bringing-the-browser-to-the-server/ Rhino (Java-based JavaScript engine) https://www.mozilla.org/rhino/ Building: * run "ant concat" * Creates a platform-agnostic "dist/env.js" file and a Rhino-specific "dist/env.rhino.js" file. Testing: * run "ant test" Java command line: env.rhino.js can be run either with a "generic" version of the Rhino library (js.jar), or with the repackaged/extended version of Rhino supplied with env.js (env-js.jar). If your application uses multiple windows, frames, or iframes, or if it depends on precise adherence to JavaScript object scoping in event handlers, you will have to use env-js.jar. Simple applications may be able to run with the generic version of Rhino. The command line used for testing env.js can be found in build.xml, although the general form is: java -jar [jar file] [javascript file] Where "jar file" is either "dist/env-js.jar", "rhino/js.jar", or your local path to a different version of the Rhino js.jar file. The "javascript file" is the path to the JavaScript you wish to execute. Installing: 1) Include the proper env.js file for your platform. load('env.rhino.js'); //if in a Rhino script 2) Tell env.js to load an HTML file from your file system that it should model: window.location = "some/file.html"; Envjs("some/file.html"); Optionally you can turn on/off settings by passing an options object: Envjs("some/file.html", {log: function(msg){ console.debug(msg) }}); 3) Optionally trigger "document ready" events in one of these ways: a) standard window.load method: load('env.rhino.js'); window.location = "some/file.html"; Envjs("some/file.html"); b) jQuery ready method: load('env.rhino.js'); load('jquery-1.3.2.js'); Envjs("some/file.html"); load('some-code-that-sets-up-jquery-onready-behaviors.js') jQuery.ready(); c) Other JavaScript frameworks have their own methods of setup, but the general pattern is: // load env.js // load your framework // tell env.js the base DOM to model // run any setup code for your framework // tell the framework that the document is loaded Testing jQuery Compatibility: * run ./bin/test-jquery.sh 1.3.2 * run ./bin/test-jquery.sh 1.3.1 * run ./bin/test-jquery.sh 1.2.6 * Checks out the given jQuery tag from Subversion into test/vendor/jQuery/[version], moves dist/env.rhino.js into the correct location in their tree, and runs the test suites.