芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/airport-back/vendor/bower-asset/inputmask/qunit/tests_option.js
export default function (qunit, $, Inputmask) { qunit.module("Extra options after masking"); qunit.test("decimal alias add suffix later - gkostov", function (assert) { var $fixture = $("#qunit-fixture"); $fixture.append('
'); var testmask = document.getElementById("testmask"); Inputmask({alias: "decimal", suffix: ""}).mask("testmask"); testmask.inputmask.option({suffix: "%"}); $("#testmask").Type("123.45"); assert.equal(testmask.value, "123.45%", "Result " + testmask.value); }); };