davidrios / jade-tmbundle

A comprehensive textmate / sublime text bundle for the Jade template language.
https://github.com/davidrios/jade-tmbundle
MIT License
102 stars 31 forks source link

Can cause Sublime Text 3 to stop responding #86

Closed JamieMason closed 8 years ago

JamieMason commented 8 years ago

Hi, thanks for making this package.

I just noticed that opening FreeCodeCamp/FreeCodeCamp/server/views/partials/scripts.jade causes Sublime Text 3 to stop responding and require force-quitting. I have tried this a couple of times before finally uninstalling the Jade package, which results in the file being possible to open.

script.
    (function(i,s,o,g,r,a,m){ i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
                (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
            m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
    })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
    ga('create', 'UA-55446531-1', 'auto');
    ga('require', 'displayfeatures');
    ga('send', 'pageview');
// Leave the below lines alone!
script.
  (function(global) {
    global.main = global.main || {};
    global.main.isLoggedIn = !{JSON.stringify(!!user)};
    global.main.userId = !{JSON.stringify(user && user.id || false)};
  }(window))
script(src=rev('/js', 'vendor-main.js'))
script(src=rev('/js', 'main.js'))

I am using Stable Channel Build 3124 on OS X El Capitan 10.11.6 (15G1004).

I hope something here will be useful to help improve the package, thanks for your time.

Jamie

davidrios commented 8 years ago

Probably duplicate of #85, please try the solutions there.

JamieMason commented 8 years ago

Thanks David 👍

davidrios commented 8 years ago

=)

davidrios commented 8 years ago

Did you try the latest stable build 3126? I tested here and it seems to have resolved the issue.

JamieMason commented 8 years ago

Great thanks, I'll give that a try.