client/js/core/elem/elem.coffee in rsence-pre-3.0.0.8 vs client/js/core/elem/elem.coffee in rsence-pre-3.0.0.9
- old
+ new
@@ -433,10 +433,17 @@
# Alias for flushLoop
flush: ->
@flushLoop()
+ flushElem: (_elemIds)->
+ _elemIds = [_elemIds] if typeof _elemIds == 'number'
+ for _id in _elemIds
+ continue unless @_elemTodoH[_id]
+ @_elemTodoH[_id] = false
+ @_flushStyleCache(_id)
+ @_flushAttrCache(_id)
###
Performs the flush of flushLoop
###
_performFlush: ->
_flushStartTime = new Date().getTime()
@@ -930,10 +937,10 @@
if ELEM._domLoadStatus
clearTimeout( @_domLoadTimer )
@_init()
else
ELEM._domLoadTimer = setTimeout( =>
- ELEM._domWaiter()
+ @._domWaiter()
, 10 )
null
ELEM.reset()
ElementManager = ELEM