SemanticScuttle/includes/js/dojox/wire/tests/programmatic/ConverterDynamic.js

13 lines
421 B
JavaScript
Raw Normal View History

if(!dojo._hasResource["dojox.wire.tests.programmatic.ConverterDynamic"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code.
dojo._hasResource["dojox.wire.tests.programmatic.ConverterDynamic"] = true;
dojo.provide("dojox.wire.tests.programmatic.ConverterDynamic");
dojo.declare("dojox.wire.tests.programmatic.ConverterDynamic", null, {
convert: function(v){
return v + 1;
}
});
}