Skip to content

Commit

Permalink
Add .javascript file extension (#5414)
Browse files Browse the repository at this point in the history
* Add `.javascript` file extension

* Change extension of existing sample

* nope
  • Loading branch information
Nixinova authored Jun 14, 2021
1 parent 757b173 commit 4184bbf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/linguist/languages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2706,6 +2706,7 @@ JavaScript:
- ".frag"
- ".gs"
- ".jake"
- ".javascript"
- ".jsb"
- ".jscad"
- ".jsfl"
Expand Down
2 changes: 1 addition & 1 deletion samples/JavaScript/json2_backbone.js
Original file line number Diff line number Diff line change
Expand Up @@ -1149,4 +1149,4 @@ var JSON;if(!JSON){JSON={}}(function(){function f(n){return n<10?"0"+n:n}if(type
return string.replace(/&(?!\w+;|#\d+;|#x[\da-f]+;)/gi, '&amp;').replace(/</g, '&lt;').replace(/>/g, '&gt;').replace(/"/g, '&quot;').replace(/'/g, '&#x27').replace(/\//g,'&#x2F;');
};

}).call(this);
}).call(this);

0 comments on commit 4184bbf

Please sign in to comment.