Created
May 28, 2015 23:57
-
-
Save vladima/c3d4647b277e85e266ab to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<title>Text</title> | |
<script src="system.src.js"></script> | |
</head> | |
<body> | |
<script> | |
System.paths = { | |
'*': '*.js', | |
'lodash':'node_modules/lodash/index.js' | |
} | |
System.import("main"); | |
</script> | |
</body> | |
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
System.register(['lodash'], function(exports_1) { | |
var _; | |
var r; | |
return { | |
setters:[ | |
function (__) { | |
_ = __; | |
}], | |
execute: function() { | |
r = _.filter([1, 2, 3], (function (x) { return x == 1; })); | |
console.log(r); | |
} | |
} | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import * as _ from 'lodash'; | |
var r = _.filter([1, 2, 3], (x => x == 1)); | |
console.log(r); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment