You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Only the latest changes will be shown below, see the wiki log to view older versions.
90
90
91
+
### Version 1.25.1 (8/17/2015)
92
+
93
+
* Change `package.json` to use the new spdx license expression syntax.
94
+
* Core
95
+
* Add keyboard data to the preview input & keyboard, so using any of these methods will return the keyboard object:
96
+
97
+
```js
98
+
// original method
99
+
var keyboard =$('input').data('keyboard');
100
+
// find currently focused keyboard & get keyboard object from it
101
+
var keyboard =$('.ui-keyboard-has-focus').data('keyboard');
102
+
// find currently focused keyboard preview input (only works if usePreview is true)
103
+
var keyboard =$('.ui-keyboard-has-focus .ui-keyboard-preview').data('keyboard');
104
+
```
105
+
106
+
Thanks to [@isfs](https://github.com/isfs) for these additions!
107
+
108
+
* Autocomplete: correctly position autocomplete popup on subsequent keyboard openings. Fixes [issue #382](https://github.com/Mottie/Keyboard/issues/382).
109
+
91
110
### Version 1.25.0 (8/12/2015)
92
111
93
112
* Core
@@ -115,83 +134,3 @@ Only the latest changes will be shown below, see the wiki log to view older vers
115
134
* Avoid javascript errors when caret extension used without a preview window.
116
135
* Caret is now removed when keyboard is hidden (when `userPreview` is `false`).
117
136
* Thanks [@isfs](https://github.com/isfs); see [pull #376](https://github.com/Mottie/Keyboard/pull/376).
118
-
119
-
### Version 1.24.0 (8/2/2015)
120
-
121
-
#### Docs
122
-
123
-
* Use protocol-relative urls
124
-
* Add font-awesome to repository. Removes initial delay in page rendering.
125
-
126
-
#### Core
127
-
128
-
* Clear key now enables `{dec}` key. See [issue #370](https://github.com/Mottie/Keyboard/issues/370).
129
-
* Add processName function
130
-
* Previously, if a `t` and `test` button were added to a layout
131
-
132
-
```js
133
-
'normal': [ 't test st\u03b1\u03b2\u03bexyz' ]
134
-
```
135
-
136
-
both keys would end up with a classnameof`ui-keyboard-t`, because only the first letter was used.
137
-
138
-
* The `processName`function now includes all characters, so the class name for the `test` button would become `ui-keyboard-test`.
139
-
* If there are any non-alphanumeric characters, the character code for each symbol would be used instead. So a `stαβξxyz` button would have a class name of `ui-keyboard-st-945-946-958xyz` (noticethatthereisnota`-`betweenthe`958`and`xyz`, thisisbecausealphanumericcharactersdon't get a `-` added in front.
140
-
* Dashes are left in as-is (e.g. `test-xx` stays as `test-xx`, or `test-αβ` becomes `test-945-946`).
141
-
* Underscores are left as-is when followed by an alphanumeric character (e.g. `test_xx` stays as `test_xx`). When followed by a non-alphanumeric character, the underscore is followed by a dash, then the decimal ascii value of the character (e.g. `test_\u03b1\u03b2` becomes `test_-945-946`).
142
-
* The result is this processed name is added after the virtual key prefix contained in `$.keyboard.css.keyPrefix` (default is `ui-keyboard-`). So a key named "test-αβ" in the layout will have a class name of `ui-keyboard-text-945-946`.
143
-
* The result of this function is saved to the virtual key's`data-name`attribute.
0 commit comments