Skip to content

Commit 5a583ea

Browse files
committed
Marked env.mobile as deprecated. Fixes #11725.
1 parent 1213ebe commit 5a583ea

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

CHANGES.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ Fixed Issues:
99
* [#13599](http://dev.ckeditor.com/ticket/13599): Fixed: Cross-editor D&D of inline widget ends up in error/artifacts.
1010
* [#13640](http://dev.ckeditor.com/ticket/13640): [IE] Fixed: Dropping a widget outside body is not handled correctly.
1111

12+
Other Changes:
13+
14+
* [#11725](http://dev.ckeditor.com/ticket/11725): Marked [`CKEDITOR.env.mobile`](http://docs.ckeditor.com/#!/api/CKEDITOR.env-property-mobile) as deprecated. The reason is that it is not anymore clear what "mobile" means.
15+
1216
## CKEditor 4.5.3
1317

1418
New Features:

core/env.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ if ( !CKEDITOR.env ) {
104104
* if ( CKEDITOR.env.mobile )
105105
* alert( 'I\'m running with CKEditor today!' );
106106
*
107+
* @deprecated
107108
* @property {Boolean}
108109
*/
109110
mobile: ( agent.indexOf( 'mobile' ) > -1 ),

0 commit comments

Comments
 (0)