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
* Better IE8 support for element and HTML interfaces
* Build updates for better IE8 support
* QUnit test updates for IE8 support
* Karma tests now only run qunit.
Mocha tests will test logic/behaviour, Karma ensures test browser
functionality
* Ensure correct jquery version is used for CI tests
* Additional render possibility to get IE8 to work
* IE8 readme docs
[ci skip]
Copy file name to clipboardExpand all lines: README.md
+20-1Lines changed: 20 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,6 +20,7 @@ __Jump to__
20
20
-[Node.js/Browserify](#node-js-browserify)
21
21
-[AMD Modules](#amd-modules)
22
22
-[Browser](#browser)
23
+
-[Internet Explorer](#internet-explorer)
23
24
-[Downloads](#downloads)
24
25
-[API Documentation](#api-documentation)
25
26
-[Caveats](#caveats)
@@ -33,7 +34,7 @@ __Jump to__
33
34
***Extensibility**<br>Linkify is designed to be fast and lightweight, but comes with a powerful plugin API that lets you detect even more information like #hashtags and @mentions.
34
35
***Small footprint**<br>Linkify and its jQuery interface clock in at approximately 15KB minified (5KB gzipped) - approximately 50% the size of Twitter Text
35
36
***Modern implementation**<br>Linkify is written in ECMAScript6 and compiles to ES5 for modern JavaScript runtimes.
36
-
* Linkify is compatible with all modern browsers, as well as Internet Explorer 9 and up. Full IE8 support coming soon.
37
+
* Linkify is compatible with all modern browsers, as well as Internet Explorer 8 and up.
**Note:** A [polyfill](#internet-explorer) is required for Internet Explorer 8.
69
+
67
70
#### Find all links and convert them to anchor tags
68
71
69
72
```js
@@ -167,6 +170,22 @@ var htmlStr = linkifyStr('Check out soapboxhq.com it is great!');
167
170
$('p').linkify();
168
171
```
169
172
173
+
## Internet Explorer
174
+
175
+
Linkify natively supports Internet Explorer 9 and above. Internet Explorer 8 is supported with a polyfill.
176
+
177
+
You can use either [es5-shim](https://github.com/es-shims/es5-shim) (sham also required) or the provided `linkify-polyfill.js`:
178
+
179
+
```html
180
+
<scriptsrc="jquery.js"></script>
181
+
182
+
<!--[if IE 8]>
183
+
<script src="linkify-polyfill.js"></script>
184
+
<![endif]-->
185
+
<scriptsrc="linkify.js"></script>
186
+
<scriptsrc="linkify-jquery.js"></script>
187
+
```
188
+
170
189
## Downloads
171
190
172
191
Download the [**latest release**](https://github.com/SoapBox/linkifyjs/releases) or clone the [**build repository**](https://github.com/nfrasser/linkify-shim).
0 commit comments