import {DOM, document, location} from 'facade/src/dom'; import {NumberWrapper, BaseException, isBlank} from 'facade/src/lang'; export function getIntParameter(name:string) { return NumberWrapper.parseInt(getStringParameter(name), 10); } export function getStringParameter(name:string) { var els = DOM.querySelectorAll(document, `input[name="${name}"]`) var value; var el; for (var i=0; i