Update jquery.ime from upstream
* Adds many input methods Change-Id: I2f3576948416e7d2bf2f935e609fe50977e7e9d9
This commit is contained in:
committed by
Santhosh
parent
6ec65fec6c
commit
7d9b81fb9d
20
lib/jquery.ime/rules/en/capitalize.js
Normal file
20
lib/jquery.ime/rules/en/capitalize.js
Normal file
@@ -0,0 +1,20 @@
|
||||
( function ( $ ) {
|
||||
'use strict';
|
||||
|
||||
var capitalize = {
|
||||
id: 'en-capitalize',
|
||||
name: 'English Capitalize',
|
||||
description: 'Capitalize all the letters',
|
||||
date: '2012-10-03',
|
||||
URL: 'http://github.com/wikimedia/jquery.ime',
|
||||
author: 'Santhosh Thottingal',
|
||||
license: 'CC-BY-SA',
|
||||
version: '1.0',
|
||||
patterns: [ [ '[a-z]', function ( $1 ) {
|
||||
return $1.toUpperCase();
|
||||
} ] ]
|
||||
};
|
||||
|
||||
$.ime.register( capitalize );
|
||||
|
||||
}( jQuery ) );
|
||||
Reference in New Issue
Block a user