timonwong / OmniMarkupPreviewer

Sublime Text 2&3 plugin to live preview markup files, supported (not limited to) markup formats are markdown, reStructuredText, WikiCreole and textile.
MIT License
500 stars 74 forks source link

Failed to load resource #65

Closed knlpsta closed 9 years ago

knlpsta commented 9 years ago

Small issue, but when I right-click to Inspect Element on the browser page, there's a Console error:

Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:51004/public/jquery.min.map

timonwong commented 9 years ago

Related to #66

knlpsta commented 9 years ago

I tried adding "jquery.min.map" (renamed from "jquery-2.1.3.min.map") and the uncompressed "jquery-2.1.3.js" to my /Library/WebServer/Documents folder (assuming that's where localhost is referencing on my Mac), but the Console error is still there..

ashfinal commented 9 years ago

"jquery.min.map" default should be placed into ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/OmniMarkupPreviewer/public/ folder. But if you want to upgrade it, a more convenient solution can be: Download ZIP-Extract & Rename the folder to OmniMarkupPreviewer-Replace /Library/Application\ Support/Sublime\ Text\ 3/Packages/OmniMarkupPreviewer folder with the newer one. Strong recommended! :)

knlpsta commented 9 years ago

Oh, wow! Thanks so much. This is exactly what I was looking for.

I didn't know there was already a /public/ folder for OmniMarkupPreviewer but I followed your second recommendation (who doesn't love an upgrade??) and now there's no Console error, hah! :)