From 7e6dc68bcaa7561d91c2d7f03da28fb3c0261154 Mon Sep 17 00:00:00 2001 From: John Barnette Date: Thu, 21 Mar 2013 13:27:15 -0700 Subject: [PATCH] We have node now, so kill our path module --- src/stdlib/path.coffee | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 src/stdlib/path.coffee diff --git a/src/stdlib/path.coffee b/src/stdlib/path.coffee deleted file mode 100644 index 337b60d6b..000000000 --- a/src/stdlib/path.coffee +++ /dev/null @@ -1,15 +0,0 @@ -# node.js path module -# http://nodejs.org/docs/v0.6.0/api/path.html - -_ = require 'underscore' - -module.exports = - # Return the last portion of a path. Similar to the Unix basename command. - basename: (filepath) -> - _.last filepath.split '/' - - # Return the extension of the path, from the last '.' to end of string in - # the last portion of the path. If there is no '.' in the last portion of - # the path or the first character of it is '.', then it returns an empty string. - extname: (filepath) -> - _.last filepath.split '.'