Skip to content

Commit ad714d8

Browse files
committedJan 22, 2014
Added closure
1 parent d2895d1 commit ad714d8

File tree

5 files changed

+27
-0
lines changed

5 files changed

+27
-0
lines changed
 

‎closure-tools/compiler/app.comp.js.map

+8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎closure-tools/compiler/app.js

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
var Person = function(name) {
2+
this.name = name;
3+
};
4+
5+
function main(){
6+
var name = "RODRIGO";
7+
if (name != "Rodrigo") {
8+
name = "Rodrigo";
9+
}
10+
11+
var me = new Person(name);
12+
alert(me.name);
13+
}
14+
15+
main();

‎closure-tools/compiler/app.min.js

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
var a="RODRIGO";"Rodrigo"!=a&&(a="Rodrigo");alert((new function(b){this.name=b}(a)).name);
2+
//# sourceMappingURL=app.comp.js.map
3+

‎closure-tools/compiler/compiler.jar

6.05 MB
Binary file not shown.

‎closure-tools/compiler/index.html

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<script src="app.min.js"></script>

0 commit comments

Comments
 (0)
Please sign in to comment.