Closed antlong closed 12 years ago
I'm not sure how to reproduce this. What steps do I need to take?
I'm getting a message in the html output as well:
/Users/Mark/Library/Application Support/TextMate/Pristine Copy/Bundles/JavaScript Tools.tmbundle/Support/bin/jshint.textmate.js:74 + TextMate.href(encodeURIComponent(process.env.TM_FILEPATH), message.line, mes ^ TypeError: Cannot read property 'line' of null at report (/Users/Mark/Library/Application Support/TextMate/Pristine Copy/Bundles/JavaScript Tools.tmbundle/Support/bin/jshint.textmate.js:74:100) at Array.forEach (native) at FAIL (/Users/Mark/Library/Application Support/TextMate/Pristine Copy/Bundles/JavaScript Tools.tmbundle/Support/bin/jshint.textmate.js:62:19) at /Users/Mark/Library/Application Support/TextMate/Pristine Copy/Bundles/JavaScript Tools.tmbundle/Support/bin/jshint.textmate.js:14:31 at [object Object]. (fs.js:114:5) at [object Object].emit (events.js:64:17) at afterRead (fs.js:1081:12) at Object.wrapper as oncomplete
let me know if this is still happening in TM2alpha and the latest master. Not sure if I fixed this or not
When i run Validate with JSHint In the webpreview window, i see the following text:
/Applications/TextMate.app/Contents/SharedSupport/Support/lib/escape.rb:23:in
e_url': private method
gsub' called for nil:NilClass (NoMethodError) from (erb):20:inheader' from /Applications/TextMate.app/Contents/SharedSupport/Support/lib/tm/htmloutput.rb:90:in
header' from /Applications/TextMate.app/Contents/SharedSupport/Support/lib/web_preview.rb:4:in `html_head' from -:4I am running ruby 1.8.7 on snow leopard.
On a side note, it doesn't appear to interfere with any functionality.