demo/js/demo.js
function(){	
		return {
			type : document.getElementById("problemType").value,
			objective : document.getElementById("problemObjective").value,
			constraints : $(".input_constraint").filter(function(){
				return /\w/.test( $(this).val() );
			}).map(function(){ 
				return $(this).val(); 
			}).toArray()
		};		
	}
function(){	
		return {
			type : document.getElementById("problemType").value,
			objective : document.getElementById("problemObjective").value,
			constraints : $(".input_constraint").filter(function(){
				return /\w/.test( $(this).val() );
			}).map(function(){ 
				return $(this).val(); 
			}).toArray()
		};		
	}
function ( ) { return { type : document . getElementById ( "problemType" ) . value , objective : document . getElementById ( "problemObjective" ) . value , constraints : $ ( ".input_constraint" ) . filter ( function ( ) { return / \w / . test ( $ ( this ) . val ( ) ) ; } ) . map ( function ( ) { return $ ( this ) . val ( ) ; } ) . toArray ( ) } ; }
returns object needs to create a input object for YASMIJ.
returns object needs to create a input object for YASMIJ .