X-Git-Url: https://jasonwoof.com/gitweb/?p=ckeditor.git;a=blobdiff_plain;f=_source%2Fcore%2Fenv.js;h=dab70d9a572dda54c0f0bccafbb07616ef372ce0;hp=20985278f01fa0ea9a6f2a7ce39e8da0f869f076;hb=4e90e78dc97789709ee7404359a5517540c27553;hpb=8f6c203fdaa543c3bca40baea6ae4ddcdf1a77f5 diff --git a/_source/core/env.js b/_source/core/env.js index 2098527..dab70d9 100644 --- a/_source/core/env.js +++ b/_source/core/env.js @@ -146,6 +146,16 @@ if ( !CKEDITOR.env ) env.ie8Compat = document.documentMode == 8; /** + * Indicates that CKEditor is running on Internet Explorer 9's standards mode. + * @name CKEDITOR.env.ie9Compat + * @type Boolean + * @example + * if ( CKEDITOR.env.ie9Compat ) + * alert( "IE9, the beauty of the web!" ); + */ + env.ie9Compat = document.documentMode == 9; + + /** * Indicates that CKEditor is running on an IE7-like environment, which * includes IE7 itself and IE8's IE7 document mode. * @name CKEDITOR.env.ie7Compat