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

Updated jQuery dependency in 3.0.0 breaks older templates #71

Open glutanimate opened 9 years ago

glutanimate commented 9 years ago

Hi there,

first of all thank you so much for creating OmniMarkupPreviewer. It has made working with markdown syntax a breeze for me.

After the recent update I noticed that my browser previews wouldn't update any more. Looking through the browser console I found error messages pertaining to missing jquery libraries. As it turns out, my customized templates were still pointing to outdated javascript files that were replaced with the recent update:

<script type="text/javascript" src="/public/jquery-2.1.3.min.js"></script>
<script type="text/javascript" src="/public/imagesloaded.pkgd.min.js"></script>
<script type="text/javascript" src="/public/app.js"></script>

I don't know if there's any automated way to update these references whenever the libraries are replaced, but if there isn't I think it would make sense to at least include a small notice about this in the package control update messages.

Thanks for reading this!

timonwong commented 9 years ago

Thanks, in later version I'll try to versioning resource files, and keep those files for a decent time (or maybe I can copy those files to user folder if they don't exist?)

I feel sorry for the inconvenience.