diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-08-30 11:21:48 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-08-30 11:21:48 -0700 |
commit | b5b49215d4a40566380a769f47a9c1cce74a28b0 (patch) | |
tree | 68308b6059798a81f24f6a8a1ac28a0091c5d066 /src/library_path.js | |
parent | 1cc28b8e9e94267041bc71afebfbbe3059db4a3f (diff) | |
parent | b895cdc7df2085d324003c9df582a3dcc1927697 (diff) |
Merge branch 'incoming'
Diffstat (limited to 'src/library_path.js')
-rw-r--r-- | src/library_path.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/library_path.js b/src/library_path.js index 2c2c016a..09808acd 100644 --- a/src/library_path.js +++ b/src/library_path.js @@ -68,6 +68,9 @@ mergeInto(LibraryManager.library, { } return f; }, + extname: function(path) { + return PATH.splitPath(path)[3]; + }, join: function() { var paths = Array.prototype.slice.call(arguments, 0); return PATH.normalize(paths.filter(function(p, index) { |