Ticket #6089: 6089_2.patch
File 6089_2.patch, 1.0 KB (added by , 13 years ago) |
---|
-
_source/core/env.js
86 86 mobile : ( agent.indexOf( 'mobile' ) > -1 ), 87 87 88 88 /** 89 * Indicates that CKEditor is running on Apple iPhone/iPad/iPod mobile devices. 90 * @type Boolean 91 * @example 92 * if ( CKEDITOR.env.iMobile ) 93 * alert( "I like apples!" ); 94 */ 95 iMobile : /(ipad|iphone|ipod)/.test(agent), 96 97 /** 89 98 * Indicates that the browser has a custom domain enabled. This has 90 99 * been set with "document.domain". 91 100 * @returns {Boolean} "true" if a custom domain is enabled. … … 239 248 * alert( "Your browser is pretty cool!" ); 240 249 */ 241 250 env.isCompatible = 251 252 // White list of mobile devices that supports. 253 env.iMobile && version >= 534 || 254 242 255 !env.mobile && ( 256 243 257 ( env.ie && version >= 6 ) || 244 258 ( env.gecko && version >= 10801 ) || 245 259 ( env.opera && version >= 9.5 ) ||