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

dependence

2 Answers 68 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
DDarko
Top achievements
Rank 1
DDarko asked on 15 Dec 2011, 01:26 AM
Slider and RangeSlider
  1. jquery-1.7.1.js
  2. kendo.core.js
  3. kendo.draganddrop.js
  4. kendo.slider.js
I think something is missing. Maybe a good idea to write automated tests for checking dependencies.

2 Answers, 1 is accepted

Sort by
0
Accepted
Kamen Bundev
Telerik team
answered on 15 Dec 2011, 08:27 AM
Hello,

I don't see anything missing, both slider and range slider are in the same javascript file. Can you clarify what do you mean?

All the best,
Kamen Bundev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
DDarko
Top achievements
Rank 1
answered on 15 Dec 2011, 10:03 AM
OK. My mistake.
Have combined these files together into one and added a few own lines - initialization of kendoSlider. However, I received a JS error:
"
Uncaught TypeError: undefined is not a function
(anonymous function)
"
I thought that missing file dependencies and can not locate a function.
Now, a closer check proved that at the end of each file was missing ';'. What exactly caused this error.

Sorry for the trouble.
Tags
General Discussions
Asked by
DDarko
Top achievements
Rank 1
Answers by
Kamen Bundev
Telerik team
DDarko
Top achievements
Rank 1
Share this question
or