Compare commits

..

No commits in common. "release/0.2" and "master" have entirely different histories.

4 changed files with 5 additions and 11 deletions

View File

@ -1,6 +1,6 @@
{
"name": "LiteRyzJS",
"version": "0.2.0.058",
"version": "0.1.0.455",
"devDependencies": {
"css-loader": "^7.1.2",
"sass": "^1.77.8",

View File

@ -7,4 +7,3 @@ import './extensions/math.js';
import './extensions/object.js';
import './extensions/string.js';
import './extensions/window.js';
import './extensions/file.js';

View File

@ -1,9 +0,0 @@
String.prototype.getFilename = function () {
return this.substring(this.lastIndexOf('/') + 1);
};
String.prototype.getFileExtension = function () {
const filename = this.getFilename();
return filename.substring(filename.lastIndexOf('.') + 1).toLowerCase();
};

View File

@ -77,3 +77,7 @@ String.prototype.toTitleCase = function () {
return result;
};
String.prototype.getFilename = function () {
return this.substring(this.lastIndexOf('/') + 1);
};