comparison docs.txt @ 23:7cbbec55aef6

Minor modifications.
author Atul Varma <varmaa@toolness.com>
date Thu, 10 Sep 2009 17:05:05 -0700
parents 915fdf283ac5
children c2c369402a2e
comparison
equal deleted inserted replaced
22:915fdf283ac5 23:7cbbec55aef6
15 __ http://code.google.com/p/pydermonkey 15 __ http://code.google.com/p/pydermonkey
16 __ http://wiki.commonjs.org/wiki/CommonJS/Modules/SecurableModules 16 __ http://wiki.commonjs.org/wiki/CommonJS/Modules/SecurableModules
17 __ http://wiki.commonjs.org/wiki/CommonJS 17 __ http://wiki.commonjs.org/wiki/CommonJS
18 18
19 For instance, here we'll create a ``JsSandbox`` whose module root 19 For instance, here we'll create a ``JsSandbox`` whose module root
20 points to the ``monkeys`` SecurableModule compliance test over HTTP: 20 points to the `monkeys`__ SecurableModule compliance test over HTTP:
21 21
22 >>> url = ("http://interoperablejs.googlecode.com/svn/trunk/" 22 >>> url = ("http://interoperablejs.googlecode.com/svn/trunk/"
23 ... "compliance/monkeys/") 23 ... "compliance/monkeys/")
24 >>> sandbox = JsSandbox(HttpFileSystem(url)) 24 >>> sandbox = JsSandbox(HttpFileSystem(url))
25
26 __ http://interoperablejs.googlecode.com/svn/trunk/compliance/monkeys/
25 27
26 This compliance test requires a global ``sys`` object that contains one 28 This compliance test requires a global ``sys`` object that contains one
27 method, ``print()``, that takes two arguments. First, we'll create the 29 method, ``print()``, that takes two arguments. First, we'll create the
28 ``print()`` function and prepare it for exposure to JS code: 30 ``print()`` function and prepare it for exposure to JS code:
29 31