JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
vanilla ckeditor-3.5.3
[ckeditor.git] / _source / core / env.js
index 2098527..dab70d9 100644 (file)
@@ -146,6 +146,16 @@ if ( !CKEDITOR.env )
                        env.ie8Compat = document.documentMode == 8;\r
 \r
                        /**\r
+                        * Indicates that CKEditor is running on Internet Explorer 9's standards mode.\r
+                        * @name CKEDITOR.env.ie9Compat\r
+                        * @type Boolean\r
+                        * @example\r
+                        * if ( CKEDITOR.env.ie9Compat )\r
+                        *     alert( "IE9, the beauty of the web!" );\r
+                        */\r
+                       env.ie9Compat = document.documentMode == 9;\r
+\r
+                       /**\r
                         * Indicates that CKEditor is running on an IE7-like environment, which\r
                         * includes IE7 itself and IE8's IE7 document mode.\r
                         * @name CKEDITOR.env.ie7Compat\r