| | 19 | <script type="text/javascript"> |
| | 20 | function startBuild(depString, version, xdDojoPath){ |
| | 21 | //Need a timeout here because otherwise the calling location is from the frame |
| | 22 | //that calls this page, which messes up our path building for loading files. |
| | 23 | //(at least in Firefox 2.0) |
| | 24 | setTimeout(function(){webbuild.build(depString, version, xdDojoPath);}, 100); |
| | 25 | } |
| | 26 | </script> |
| 21 | | <h2>Dojo Builder Prototype</h2> |
| 22 | | <p> |
| 23 | | (experimental, prototype) |
| 24 | | </p> |
| 25 | | <p> |
| 26 | | <b>XDomain Dojo path (example: http://some.domain.com/dojo-xdversion/src):</b><br /> |
| 27 | | <input type="text" id="xdDojoPath" value="" size="30" /> |
| 28 | | </p> |
| 29 | | <p> |
| 30 | | <b>Modules to include in build (comma-separated list):</b><br /> |
| 31 | | <textarea id="dependencyList" cols="40" rows="20"> |
| 32 | | "dojo.io.*", |
| 33 | | "dojo.io.BrowserIO", |
| 34 | | "dojo.event.*", |
| 35 | | "dojo.lfx.*" |
| 36 | | </textarea> |
| 37 | | </p> |
| 38 | | <p> |
| 39 | | <button onclick="webbuild.build(dojo.byId('dependencyList').value, '0.4.2dev', dojo.byId('xdDojoPath').value)">Go</button> |
| 40 | | </p> |
| | 30 | Hidden builder content for webbuild/index.html. See that file for the entry |
| | 31 | point into the web build system. This file needs to live in the buildscripts |
| | 32 | directory because of some assumptions in buildUtil.js. |