This is a migrated thread and some comments may be shown as answers.

JSFiddle demo not working

1 Answer 111 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Brian Mains
Top achievements
Rank 1
Brian Mains asked on 03 Apr 2013, 02:30 PM
Hello,

I have a working example that works locally, but when I deploy it up to JSFiddle, this doesn't work correctly.  I was curious if there is a specific way I have to set this up?  There is some JS initialization that happens on window.onload (setup by JSFiddle) that I thought might be throwing off Kendo UI, because none of the data-binding is working, when it did before.

Here is the fiddle: http://jsfiddle.net/bmains/7pata/

Thanks.

1 Answer, 1 is accepted

Sort by
0
Alexander Valchev
Telerik team
answered on 03 Apr 2013, 03:14 PM
Hello Brian,

You have encountered a specific for the jsfiddle itself case - the script is evaluated in a body onload handler. As a result newViewModel becomes a local variable, not visible for the application. Please see the updated sample (all I did was to change the dropdown setting in the top left panel, under Frameworks & Extensions).

Kind regards,
Alexander Valchev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
General Discussions
Asked by
Brian Mains
Top achievements
Rank 1
Answers by
Alexander Valchev
Telerik team
Share this question
or