Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Rename combined js file (compiler.js) to web-js;

compiler.js is ambiguous.
  • Loading branch information...
commit 0beffd1bec2a236176f63f84d93a70fe9e3acabd 1 parent 3505751
@gfx gfx authored
View
3  .gitignore
@@ -1,8 +1,5 @@
*~
*.swp
node_modules/
-blib/
-tool/js
-jsx.js
_builtins.js
View
2  web/.gitignore
@@ -1 +1 @@
-compiler.js
+jsx-web.js
View
2  web/app.psgi
@@ -26,7 +26,7 @@ builder {
mount '/js' => sub {
my($env) = @_;
- my @cmd = ($build, "$root/..", "$root/js/compiler.js");
+ my @cmd = ($build, "$root/..", "$root/js/jsx-web.js");
system(@cmd) == 0 or die "Failed to build: @cmd";
return $js->(@_);;
View
3  web/build.pl
@@ -50,8 +50,6 @@ sub buildBuiltinJS {
}, "$root/lib";
foreach my $file(@files) {
- print STDOUT "$file\n";
-
open my $jsx, "<", $file;
my $basename = basename($file);
@@ -86,6 +84,7 @@ sub buildBuiltinJS {
sub buildCompilerJS {
my($root, $build, $target) = @_;
+ say "build $target";
my @files;
find {
no_chdir => 1,
View
6,021 web/js/compiler.js
6,021 additions, 0 deletions not shown
View
6,021 web/js/jsx-web.js
6,021 additions, 0 deletions not shown
View
2  web/static/index.html
@@ -5,7 +5,7 @@
<title>JSX - Suprisingly exciting!</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
- <script src="js/compiler.js"></script>
+ <script src="js/jsx-web.js"></script>
<script type="text/javascript">
"use strict";
window.addEventListener('load', function(e) {

0 comments on commit 0beffd1

Please sign in to comment.
Something went wrong with that request. Please try again.