Permalink
Browse files

修正浏览器端使用的文件链接地址

  • Loading branch information...
1 parent 4492d1d commit 6ebb07df233a729c825b1fffaa8acfb4b181e686 @leizongmin committed May 5, 2014
Showing with 2 additions and 2 deletions.
  1. +1 −1 README.md
  2. +1 −1 README.zh.md
View
2 README.md
@@ -106,7 +106,7 @@ console.log(html);
### In browsers
```HTML
-<script src="https://raw.github.com/leizongmin/js-xss/master/build/xss.js"></script>
+<script src="https://raw.github.com/leizongmin/js-xss/master/dist/xss.js"></script>
<script>
// apply function filterXSS in the same way
var html = filterXSS('<script>alert("xss");</scr' + 'ipt>');
View
2 README.zh.md
@@ -82,7 +82,7 @@ console.log(html);
### 在浏览器端使用
```HTML
-<script src="https://raw.github.com/leizongmin/js-xss/master/build/xss.js"></script>
+<script src="https://raw.github.com/leizongmin/js-xss/master/dist/xss.js"></script>
<script>
// 使用函数名 filterXSS,用法一样
var html = filterXSS('<script>alert("xss");</scr' + 'ipt>');

0 comments on commit 6ebb07d

Please sign in to comment.