Update inline comments

This commit is contained in:
Matthew Dean
2016-11-21 13:57:59 -08:00
parent d0fbadba2e
commit c82202cfb8
2 changed files with 4 additions and 1 deletions

View File

@@ -35,7 +35,7 @@ abstractFileManager.prototype.alwaysMakePathsAbsolute = function() {
abstractFileManager.prototype.isPathAbsolute = function(filename) {
return (/^(?:[a-z-]+:|\/|\\|#)/i).test(filename);
};
// TODO: pull out - this is part of Node & Browserify
// TODO: pull out / replace?
abstractFileManager.prototype.join = function(basePath, laterPath) {
if (!basePath) {
return laterPath;

View File

@@ -54,6 +54,9 @@ PluginManager.prototype.get = function(filename) {
return this.pluginCache[filename];
};
/**
* Deprecate eventually
*/
function upgradeVisitors(visitor, oldType, newType) {
if (visitor['visit' + oldType] && !visitor['visit' + newType]) {