Skip to content

Commit

Permalink
Pull out browser shims.
Browse files Browse the repository at this point in the history
We do not include shims into the browserified version from now on. For support
of oldIEs and other prehistoric browsers one might use [es5-shims][1]. See demo.

[1]: https://github.com/kriskowal/es5-shim
  • Loading branch information
ixti committed Aug 1, 2012
1 parent 8eb3d5b commit 9d743fa
Show file tree
Hide file tree
Showing 7 changed files with 1,116 additions and 259 deletions.
4 changes: 4 additions & 0 deletions README.md
Expand Up @@ -69,6 +69,10 @@ var doc = jsyaml.load('greeting: hello\nname: world');
Browser support is still buggy, and mostly done to run online demo. If you
can help to improve browser compatibility and AMD support - rise pull request.

**Support of oldIEs** and some other prehistoric browsers is possible using
[es5-shims](https://github.com/kriskowal/es5-shim). Just include shims before
jsyaml to use it with outdated browsers.


## API

Expand Down
1 change: 1 addition & 0 deletions demo/index.html
Expand Up @@ -8,6 +8,7 @@
<link rel="stylesheet" href="css/codemirror.css">
<link rel="stylesheet" href="css/codemirror.default.css">
<link rel="stylesheet" href="css/demo.css">
<script src="js/es5-shims.js"></script>
<script src="js/js-yaml.js"></script>
<script src="js/codemirror.js"></script>
<script src="js/codemirror/yaml.js"></script>
Expand Down

0 comments on commit 9d743fa

Please sign in to comment.