src/template/cjs_template.js
function(str, context) {

		return cjs(function() {
			try {
				var node = jsep(cjs.get(str));
				if(node.type === LITERAL) {
					return node.value;
				} else {
					return get_node_value(node, context, [context]);
				}
			} catch(e) {
				console.error(e);
			}
		});
	}
function(str, context) {

		return cjs(function() {
			try {
				var node = jsep(cjs.get(str));
				if(node.type === LITERAL) {
					return node.value;
				} else {
					return get_node_value(node, context, [context]);
				}
			} catch(e) {
				console.error(e);
			}
		});
	}
function ( str , context ) { return cjs ( function ( ) { try { var node = jsep ( cjs . get ( str ) ) ; if ( node . type === LITERAL ) { return node . value ; } else { return get_node_value ( node , context , [ context ] ) ; } } catch ( e ) { console . error ( e ) ; } } ) ; }
Parses a string and returns a constraint whose value represents the result of `eval`ing
that string

@method cjs.createParsedConstraint
@param {string} str - The string to parse
@param {object} context - The context in which to look for variables
@return {cjs.Cosntraint} - Whether the template was successfully resumed
@example Creating a parsed constraint `x`

var a = cjs(1);
var x = cjs.createParsedConstraint("a+b", {a: a, b: cjs(2)})
x.get(); // 3
a.set(2);
x.get(); // 4
Parses a string and returns a constraint whose value represents the result of eval ing that string