Skip to content
This repository has been archived by the owner on May 10, 2019. It is now read-only.

Commit

Permalink
This is needed for the build.
Browse files Browse the repository at this point in the history
  • Loading branch information
Shane Tomlinson committed Aug 30, 2011
1 parent 13c9632 commit b0a559e
Show file tree
Hide file tree
Showing 4 changed files with 52 additions and 0 deletions.
21 changes: 21 additions & 0 deletions browserid/static/relay/scripts/build.html
@@ -0,0 +1,21 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
<title>relay Build Page</title>
</head>
<body>
<h1>relay Build Page</h1>
<p>This is a dummy page that loads your app so steal can
get all the files.
</p>
<p>If you built your app
to depend on HTML in the page before DOMContent loaded or
onload, you can add the HTML here, or you can change the
build.js script to point to a better html file.
</p>
<script type='text/javascript'
src='../../steal/steal.js?relay'>
</script>
</body>
</html>
8 changes: 8 additions & 0 deletions browserid/static/relay/scripts/build.js
@@ -0,0 +1,8 @@

load("steal/rhino/steal.js");
steal.plugins('steal/build','steal/build/scripts','steal/build/styles',function() {
steal.build('../static/relay/scripts/build.html',{
to: '../static/relay',
compressor: 'concatOnly'
});
});
17 changes: 17 additions & 0 deletions browserid/static/relay/scripts/clean.js
@@ -0,0 +1,17 @@
//steal/js /web/browserid/browserid/static/dialog/dialog/scripts/compress.js

load("steal/rhino/steal.js");
steal.plugins('steal/clean',function(){
steal.clean('/web/browserid/browserid/static/relay/relay.html',{
indent_size: 1,
indent_char: '\t',
jslint : false,
ignore: /jquery\/jquery.js/,
predefined: {
steal: true,
jQuery: true,
$ : true,
window : true
}
});
});
6 changes: 6 additions & 0 deletions browserid/static/relay/scripts/docs.js
@@ -0,0 +1,6 @@
//js /web/browserid/browserid/static/dialog/dialog/scripts/doc.js

load('steal/rhino/steal.js');
steal.plugins("documentjs").then(function(){
DocumentJS('/web/browserid/browserid/static/dialog/dialog/dialog.html');
});

0 comments on commit b0a559e

Please sign in to comment.