Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Update Mustache to v2.2.1 #12034

Closed
wants to merge 223 commits into from
Closed

Conversation

petetnt
Copy link
Collaborator

@petetnt petetnt commented Dec 29, 2015

This PR updates Mustache to version v2.2.1 from v0.7.

Mostly everything Brackets uses Mustache for works as it used to except for Mustache.compile which has been completely removed for over 2 years. This PR also provides a simple polyfill for it for not to break extensions that might still be using it.

Marcel Gerber and others added 26 commits January 17, 2015 19:07
Open the list using File-> Open Recent (Alt+O)
Navigate using keyboard only - Next (Alt+Shift+N), Prev (Alt+Shift+P)
Minor refactoring
@ficristo
Copy link
Collaborator

I'm all for use up-to-date libraries, but is there any reason beyond that to update Mustache?
Did you look if there is any extension use Mustache.compile?
Maybe using something like https://github.com/dangoor/BracketsExtensionGrabber.

@@ -1 +1 @@
Subproject commit 61ca2db598f3f1d79e837f326bc740e8bc49e62a
Subproject commit 291b06eb891ff63bc010795bd492e9a672c13566
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this change belong in this PR

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

swmitra and others added 21 commits May 19, 2016 13:11
Changing `editorCount++` to `++editorCount`
Caused by interference between adobe#12389 and adobe#12203.
The former utilizes PathUtils, while the latter adapted PathUtils
to our normal require() workflow.
…nd-color'

Caused by our recent CEF upgrade
Refactoring QuickOpenHTML, CSS, and JavaScript extensions
Update a couple of dependencies in package.json at the root
Fix for EditorManager(1) and MainViewManager(4) test failures
@marcelgerber
Copy link
Contributor

I've now had a look at this PR, and noticed the issue I had before is still present - in the Extension Manager dialog, extension author's names are no longer shown.

(If you need help in resolving the merge conflicts, please say so, I have a working branch local)

@marcelgerber
Copy link
Contributor

marcelgerber commented May 25, 2016

My latest changes are up at MarcelGerber:update-mustache (see 8093791...MarcelGerber:update-mustache for a changeset against current master).

I've also filed the issue with Mustache: janl/mustache.js#566

And, to complete, I've looked for extensions that use Mustache.compile and found these:

  • brackets-cuwire
  • brackets-wallpaper
  • genuitec.team-extensions (for some reason, they have a copy of ExtensionManagerView?)
  • shreder uses Mustache.compilePartial, for which we don't have a polyfill!

@petetnt petetnt closed this May 25, 2016
@petetnt petetnt deleted the petetnt/update-mustache branch May 25, 2016 18:39
@petetnt petetnt restored the petetnt/update-mustache branch May 25, 2016 18:40
@petetnt
Copy link
Collaborator Author

petetnt commented May 25, 2016

Blarg, screwed rebasing this PR with your changes. @marcelgerber feel free to open a new PR with your branch. Really great work finding the issues as always, I'll check if there's a simple way to polyfill the the compilePartial method.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.