Sha256: 3c853974309b00166cd511324d9b89a969eb5ec7785cc4509265dbcd252897ba
Contents?: true
Size: 711 Bytes
Versions: 1
Compression:
Stored size: 711 Bytes
Contents
<?xml version="1.0" encoding="utf-8" ?> <bindings xmlns="http://www.mozilla.org/xbl"> <binding id="numericfield"> <implementation> <constructor> this.keypress = CheckIsDigit ; </constructor> <method name="CheckIsDigit"> <body> <![CDATA[ var iCode = keyCode ; var bAccepted = ( ( iCode >= 48 && iCode <= 57 ) // Numbers || (iCode >= 37 && iCode <= 40) // Arrows || iCode == 8 // Backspace || iCode == 46 // Delete ) ; return bAccepted ; ]]> </body> </method> </implementation> <events> <event type="keypress" value="CheckIsDigit()" /> </events> </binding> </bindings>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
Wiki2GoEditor-1.0.0 | fckeditor/editor/dialog/common/moz-bindings.xml |