这是我们的代码,我们使用coffeescript,backbone,marionette和jquery进行对话。当代码执行浏览器时会产生RangeError并冻结。有任何与我们的问题相同的问题,你能帮助我解决我们的问题。
感谢
onRender:->
@showMobiscroll()
if @options.value isnt undefined
@$el.attr('value',@options.value)
if @options.className isnt undefined
@$el.addClass(@options.className)
showMobiscroll:->
###
@$el.datepicker({
dateFormat: "dd-mm-yy",
changeMonth: true,
changeYear: true
})
###
@$el.mobiscroll().calendar({
display:'bubble',
theme:'mobiscroll'
})
答案 0 :(得分:1)
修复了问题,只需更新最新的jquery UI和最新的jquery。