Created
September 25, 2014 08:57
-
-
Save dbaba/8a66b8191438000cb730 to your computer and use it in GitHub Desktop.
javascript-node.tmbundle fix. Make sure 'Output' is 'Show in New Window' and 'Format' is 'HTML' in Bundle Editor.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby18 -wKU | |
require "#{ENV["TM_SUPPORT_PATH"]}/lib/escape" | |
require "#{ENV['TM_SUPPORT_PATH']}/lib/tm/save_current_document" | |
require "#{ENV["TM_SUPPORT_PATH"]}/lib/tm/executor" | |
TextMate.save_if_untitled('node') | |
TextMate::Executor.run(e_sh("node"), ENV['TM_FILEPATH'], :version_args => '-v', :version_regex => /(\w+ [\d.]+).*/) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment