 			# connections
 			connections = @connections = []
 			for elem in binding
-				if isArray elem
+				if isArray(elem)
 					connections.push new Connection @, elem[0], elem[1]
 
 			# update

			@child?.destroy()
			return

	class Binding
		@prepare = (arr, item) ->
			for elem, i in arr
				if isArray elem
					Binding.prepare elem, item
				else if elem is 'this'
					arr[i] = item
			null

		@getHash = do ->
			argI = 0


		data.bindings[prop]?.destroy()

		if binding?
			if not extraResultFunc and isSimpleBinding(binding)
				data.bindings[prop] = new SimpleBinding @, prop, binding
			else
				data.bindings[prop] = new Binding @, prop, binding, extraResultFunc
		return
