 	self: null
 	node: null
 	vars: null
+	text: ''
 	func: ''
 
 	_onChanged: (prop) ->

'use strict'

[utils, expect, signal, Dict] = ['utils', 'expect', 'signal', 'dict'].map require
coffee = require 'coffee-script' if utils.isNode

module.exports = (File) -> class Input


	@fromAssembled = (input) ->
		input._func = cache[input.func] ?= new Function 'file', 'get', input.func

	constructor: (@node, @text) ->
		expect(node).toBe.any File.Element
		expect(text).toBe.truthy().string()

