Closed MikeSpock closed 9 years ago
You only applied scriptpath if the file didn't include '.js'. I think it should work for .js files as well. In the change I removed the condition of indexOf('.js')===-1, and added a part where I add '.js' if the file doesn't end with .js.
thanks for the work. tests are still passing :+1:
You only applied scriptpath if the file didn't include '.js'. I think it should work for .js files as well. In the change I removed the condition of indexOf('.js')===-1, and added a part where I add '.js' if the file doesn't end with .js.