diff --git a/js/lib/marked/main.js b/js/lib/marked/main.js index e2bda61..795554c 100644 --- a/js/lib/marked/main.js +++ b/js/lib/marked/main.js @@ -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, diff --git a/js/lib/md5/Readme.md b/js/lib/md5/Readme.md index 092741e..65226be 100644 --- a/js/lib/md5/Readme.md +++ b/js/lib/md5/Readme.md @@ -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) diff --git a/js/lib/md5/md5.js b/js/lib/md5/main.js similarity index 100% rename from js/lib/md5/md5.js rename to js/lib/md5/main.js