New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't update output automatically when used with AngularJS #25

Closed
movstox opened this Issue Sep 25, 2013 · 7 comments

Comments

Projects
None yet
2 participants
@movstox

movstox commented Sep 25, 2013

Hi there,

I tried using http://fiddlesalad.com/coffeescript/angularjs-one-page-template/ with AngularJS. I can't get it to update output automatically. I have to click 'refresh' each time.

Is there a solution for this?

Thanks so much.

@yuguang

This comment has been minimized.

Show comment
Hide comment
@yuguang

yuguang Sep 26, 2013

Owner

My hypothesis is that as angular.js is loaded, it parses the HTML looking
for template tags. The way to fix this is to reload the library every time.
I'm going to make a fix so that it reloads every time when there are
template tags.

Yuguang

On Wed, Sep 25, 2013 at 6:10 PM, movstox notifications@github.com wrote:

Hi there,

I tried using
http://fiddlesalad.com/coffeescript/angularjs-one-page-template/ with
AngularJS. I can't get it to update output automatically. I have to click
'refresh' each time.

Is there a solution for this?

Thanks so much.


Reply to this email directly or view it on GitHubhttps://github.com/yuguang/fiddlesalad/issues/25
.

Owner

yuguang commented Sep 26, 2013

My hypothesis is that as angular.js is loaded, it parses the HTML looking
for template tags. The way to fix this is to reload the library every time.
I'm going to make a fix so that it reloads every time when there are
template tags.

Yuguang

On Wed, Sep 25, 2013 at 6:10 PM, movstox notifications@github.com wrote:

Hi there,

I tried using
http://fiddlesalad.com/coffeescript/angularjs-one-page-template/ with
AngularJS. I can't get it to update output automatically. I have to click
'refresh' each time.

Is there a solution for this?

Thanks so much.


Reply to this email directly or view it on GitHubhttps://github.com/yuguang/fiddlesalad/issues/25
.

@yuguang

This comment has been minimized.

Show comment
Hide comment
@yuguang

yuguang Sep 27, 2013

Owner

If you're interested, read my post on the upcoming work to make AngularJS work smoother http://yuguangzhang.com/blog/using-encapsulation-to-make-an-awesome-angular-js-editor-in-fiddle-salad/.

Owner

yuguang commented Sep 27, 2013

If you're interested, read my post on the upcoming work to make AngularJS work smoother http://yuguangzhang.com/blog/using-encapsulation-to-make-an-awesome-angular-js-editor-in-fiddle-salad/.

@yuguang

This comment has been minimized.

Show comment
Hide comment
@yuguang

yuguang Sep 29, 2013

Owner

Hi,

The bug you reported has been fixed. You will notice automatic refresh checked for Angular under Tools.

Owner

yuguang commented Sep 29, 2013

Hi,

The bug you reported has been fixed. You will notice automatic refresh checked for Angular under Tools.

@yuguang yuguang closed this Sep 29, 2013

@movstox

This comment has been minimized.

Show comment
Hide comment
@movstox

movstox Sep 30, 2013

Thank you. It works when I update CoffeeScript. But it doesn't seem to function when I update Jade.

movstox commented Sep 30, 2013

Thank you. It works when I update CoffeeScript. But it doesn't seem to function when I update Jade.

@yuguang

This comment has been minimized.

Show comment
Hide comment
@yuguang

yuguang Oct 2, 2013

Owner

It also works with Jade now. I'm looking for a way to refresh without the flickering.

Owner

yuguang commented Oct 2, 2013

It also works with Jade now. I'm looking for a way to refresh without the flickering.

@movstox

This comment has been minimized.

Show comment
Hide comment
@movstox

movstox Oct 2, 2013

Thanks. If we introduce refresh delay, say 30 seconds? That might fix flickering..

movstox commented Oct 2, 2013

Thanks. If we introduce refresh delay, say 30 seconds? That might fix flickering..

@yuguang

This comment has been minimized.

Show comment
Hide comment
@yuguang

yuguang Oct 3, 2013

Owner

I fixed the flickering with a JavaScript and CSS solution http://css-tricks.com/prevent-white-flash-iframe/.

Owner

yuguang commented Oct 3, 2013

I fixed the flickering with a JavaScript and CSS solution http://css-tricks.com/prevent-white-flash-iframe/.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment