This repository has been archived on 2023-08-30. You can view files and clone it, but cannot push or open issues/pull-requests.
bytedo
/
wcui
Archived
1
0
Fork 0

更新marked组件;迁移md5插件

old
宇天 2017-09-08 22:45:02 +08:00
parent fadd599ddd
commit 98ec64948a
3 changed files with 2 additions and 2 deletions

View File

@ -1128,7 +1128,6 @@ Parser.prototype.tok = function() {
return this.renderer.mark(body, this.token.mark);
}
case 'task': {
log(this.token)
return this.renderer.task(this.token.text, this.token.mark)
}
case 'list_start': {
@ -1333,6 +1332,7 @@ marked.setOptions = function(opt) {
merge(marked.defaults, opt);
return marked;
};
if (window.yua) {yua.ui.marked = '1.0.0'}
marked.defaults = {
gfm: true,

View File

@ -9,7 +9,7 @@
### demo:
```javascript
require(['./md5'], function(SparkMD5){
require(['./md5/main'], function(SparkMD5){
var Spark = new SparkMD5()
var md5 = function(cont){
return Spark.sign.call(Spark, cont)