Skip to content

Commit

Permalink
Use npm package for closure-library
Browse files Browse the repository at this point in the history
  • Loading branch information
arv committed Mar 22, 2013
1 parent a51e03d commit 1c6776c
Show file tree
Hide file tree
Showing 1,504 changed files with 22 additions and 423,410 deletions.
5 changes: 4 additions & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "traceur",
"version": "0.0.1",
"version": "0.0.2",
"description": "Experimental ES6 to ES5 compiler",
"keywords": [
"javascript",
Expand Down Expand Up @@ -33,5 +33,8 @@
},
"dependencies": {
"commander": ">=1.1"
},
"devDependencies": {
"closure-library": ">=1.0"
}
}
4 changes: 2 additions & 2 deletions test/alltests.html
Expand Up @@ -9,12 +9,12 @@
<head>
<title>Traceur - All JsUnit Tests</title>
<script src="../bin/traceur.js"></script>
<script src="../third_party/closure-library/closure/goog/base.js"></script>
<script src="../node_modules/closure-library/closure/goog/base.js"></script>
<script>
goog.require('goog.userAgent.product');
goog.require('goog.testing.MultiTestRunner');
</script>
<link rel="stylesheet" href="../third_party/closure-library/closure/goog/css/multitestrunner.css">
<link rel="stylesheet" href="../node_modules/closure-library/closure/goog/css/multitestrunner.css">
<style>
h1 {
font: normal x-large arial, helvetica, sans-serif;
Expand Down
2 changes: 1 addition & 1 deletion test/feature/feature_test.html
Expand Up @@ -19,7 +19,7 @@
<html>
<head>
<title></title>
<script src="../../third_party/closure-library/closure/goog/base.js"></script>
<script src="../../node_modules/closure-library/closure/goog/base.js"></script>
<script>
goog.require('goog.testing.jsunit');
</script>
Expand Down
2 changes: 1 addition & 1 deletion test/system/hello_test.html
Expand Up @@ -19,7 +19,7 @@
<html>
<head>
<title></title>
<script src="../../third_party/closure-library/closure/goog/base.js"></script>
<script src="../../node_modules/closure-library/closure/goog/base.js"></script>
<script>
// NOTE: base.js and all goog.require statements must be in JS script blocks
// NOTE: because they use document.write to add new script tags in place
Expand Down
2 changes: 1 addition & 1 deletion test/unit/codegeneration/low_level_tests.html
Expand Up @@ -19,7 +19,7 @@
<html>
<head>
<title></title>
<script src="../../../third_party/closure-library/closure/goog/base.js"></script>
<script src="../../../node_modules/closure-library/closure/goog/base.js"></script>
<script>
goog.require('goog.testing.jsunit');
</script>
Expand Down
2 changes: 1 addition & 1 deletion test/unit/codegeneration/placeholder_parser_test.html
Expand Up @@ -19,7 +19,7 @@
<html>
<head>
<title></title>
<script src="../../../third_party/closure-library/closure/goog/base.js"></script>
<script src="../../../node_modules/closure-library/closure/goog/base.js"></script>
<script>
// NOTE: base.js and all goog.require statements must be in JS script blocks
// NOTE: because they use document.write to add new script tags in place
Expand Down
2 changes: 1 addition & 1 deletion test/unit/codegeneration/runtime_inliner_test.html
Expand Up @@ -19,7 +19,7 @@
<html>
<head>
<title></title>
<script src="../../../third_party/closure-library/closure/goog/base.js"></script>
<script src="../../../node_modules/closure-library/closure/goog/base.js"></script>
<script>
// NOTE: base.js and all goog.require statements must be in JS script blocks
// NOTE: because they use document.write to add new script tags in place
Expand Down
2 changes: 1 addition & 1 deletion test/unit/codegeneration/source_map_test.html
Expand Up @@ -19,7 +19,7 @@
<html>
<head>
<title></title>
<script src="../../../third_party/closure-library/closure/goog/base.js"></script>
<script src="../../../node_modules/closure-library/closure/goog/base.js"></script>
<script>
// NOTE: base.js and all goog.require statements must be in JS script blocks
// NOTE: because they use document.write to add new script tags in place
Expand Down
2 changes: 1 addition & 1 deletion test/unit/codegeneration/writer_test.html
Expand Up @@ -19,7 +19,7 @@
<html>
<head>
<title></title>
<script src="../../../third_party/closure-library/closure/goog/base.js"></script>
<script src="../../../node_modules/closure-library/closure/goog/base.js"></script>
<script>
// NOTE: base.js and all goog.require statements must be in JS script blocks
// NOTE: because they use document.write to add new script tags in place
Expand Down
2 changes: 1 addition & 1 deletion test/unit/runtime/modules_test.html
Expand Up @@ -19,7 +19,7 @@
<html>
<head>
<title></title>
<script src="../../../third_party/closure-library/closure/goog/base.js"></script>
<script src="../../../node_modules/closure-library/closure/goog/base.js"></script>
<script>
goog.require('goog.testing.jsunit');
goog.require('goog.testing.AsyncTestCase');
Expand Down
2 changes: 1 addition & 1 deletion test/unit/semantics/free_variable_checker_test.html
Expand Up @@ -19,7 +19,7 @@
<html>
<head>
<title></title>
<script src="../../../third_party/closure-library/closure/goog/base.js"></script>
<script src="../../../node_modules/closure-library/closure/goog/base.js"></script>
<script>

goog.require('goog.testing.jsunit');
Expand Down
2 changes: 1 addition & 1 deletion test/unit/semantics/variable_binder_test.html
Expand Up @@ -19,7 +19,7 @@
<html>
<head>
<title></title>
<script src="../../../third_party/closure-library/closure/goog/base.js"></script>
<script src="../../../node_modules/closure-library/closure/goog/base.js"></script>
<script>

goog.require('goog.testing.jsunit');
Expand Down
2 changes: 1 addition & 1 deletion test/unit/syntax/line_numbers.html
Expand Up @@ -19,7 +19,7 @@
<html>
<head>
<title></title>
<script src="../../../third_party/closure-library/closure/goog/base.js"></script>
<script src="../../../node_modules/closure-library/closure/goog/base.js"></script>
<script>
// NOTE: base.js and all goog.require statements must be in JS script blocks
// NOTE: because they use document.write to add new script tags in place
Expand Down
2 changes: 1 addition & 1 deletion test/unit/syntax/parser_test.html
Expand Up @@ -19,7 +19,7 @@
<html>
<head>
<title></title>
<script src="../../../third_party/closure-library/closure/goog/base.js"></script>
<script src="../../../node_modules/closure-library/closure/goog/base.js"></script>
<script>
goog.require('goog.testing.jsunit');
</script>
Expand Down
2 changes: 1 addition & 1 deletion test/unit/syntax/parsetreevalidator_test.html
Expand Up @@ -19,7 +19,7 @@
<html>
<head>
<title></title>
<script src="../../../third_party/closure-library/closure/goog/base.js"></script>
<script src="../../../node_modules/closure-library/closure/goog/base.js"></script>
<script data-scan>
// NOTE: base.js and all goog.require statements must be in JS script blocks
// NOTE: because they use document.write to add new script tags in place
Expand Down
2 changes: 1 addition & 1 deletion test/unit/syntax/token_test.html
Expand Up @@ -19,7 +19,7 @@
<html>
<head>
<title></title>
<script src="../../../third_party/closure-library/closure/goog/base.js"></script>
<script src="../../../node_modules/closure-library/closure/goog/base.js"></script>
<script>
// NOTE: base.js and all goog.require statements must be in JS script blocks
// NOTE: because they use document.write to add new script tags in place
Expand Down
2 changes: 1 addition & 1 deletion test/unit/util/error_reporter_test.html
Expand Up @@ -19,7 +19,7 @@
<html>
<head>
<title></title>
<script src="../../../third_party/closure-library/closure/goog/base.js"></script>
<script src="../../../node_modules/closure-library/closure/goog/base.js"></script>
<script>

goog.require('goog.testing.jsunit');
Expand Down
2 changes: 1 addition & 1 deletion test/unit/util/url_test.html
Expand Up @@ -19,7 +19,7 @@
<html>
<head>
<title></title>
<script src="../../../third_party/closure-library/closure/goog/base.js"></script>
<script src="../../../node_modules/closure-library/closure/goog/base.js"></script>
<script>

goog.require('goog.testing.jsunit');
Expand Down
13 changes: 0 additions & 13 deletions third_party/closure-library/AUTHORS

This file was deleted.

176 changes: 0 additions & 176 deletions third_party/closure-library/LICENSE

This file was deleted.

6 changes: 0 additions & 6 deletions third_party/closure-library/README

This file was deleted.

0 comments on commit 1c6776c

Please sign in to comment.