 		onInViewport: (entries) ->
 			@inViewport = entries[0].isIntersecting
 			if @inViewport and @shouldObserveOnce
-				@observer?.disconnect() 
+				@observer?.disconnect()
 				delete @observer

	methods:

		# Start observing if appropriate
		startObserving: -> 
			return unless @shouldObserve and IntersectionObserver?
			return if @observer # Don't make multiple observers
			@observer = new IntersectionObserver @onInViewport, 
				@makeIntersectionOptions()
			@observer.observe @$el


export default

	props:
		intersectionOptions:
			type: Object
			default: -> {}

