Input method integration with ULS
The file ext.uls.settingspanel.js is a draft for common code in the different settings panels. Change-Id: I057274f16b27b2c18d43d41c1d43f485a18ef0bf
This commit is contained in:
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