mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 09:40:21 +00:00
.frag file extension added for JavaScript with some new samples
This commit is contained in:
7
samples/JavaScript/intro.js.frag
Normal file
7
samples/JavaScript/intro.js.frag
Normal file
@@ -0,0 +1,7 @@
|
||||
(function(window, angular) {
|
||||
|
||||
Array.prototype.last = function() {
|
||||
return this[this.length-1];
|
||||
};
|
||||
|
||||
var app = angular.module('ConwayGameOfLife', []);
|
||||
3
samples/JavaScript/outro.js.frag
Normal file
3
samples/JavaScript/outro.js.frag
Normal file
@@ -0,0 +1,3 @@
|
||||
|
||||
})(window, window.angular);
|
||||
|
||||
Reference in New Issue
Block a user