From 85e84a40b121f48e97feee87a5722bffce73d537 Mon Sep 17 00:00:00 2001 From: wangpei07 Date: Tue, 15 Nov 2016 15:08:10 +0800 Subject: [PATCH 1/2] =?UTF-8?q?update:=20=E6=9B=B4=E6=96=B0readme?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mip-ad/README.md | 4 ---- mip-ad/setting/example.preset | 16 ++++++++++++++++ mip-down-hideshow/README.md | 7 +++++-- 3 files changed, 21 insertions(+), 6 deletions(-) create mode 100644 mip-ad/setting/example.preset diff --git a/mip-ad/README.md b/mip-ad/README.md index 8227bf9f2..0cd5559f5 100644 --- a/mip-ad/README.md +++ b/mip-ad/README.md @@ -41,10 +41,6 @@ mip-ad 用来支持站长添加网页内自定义广告,主要包括连接、 ``` - - - - ## 支持广告 - [通用广告](mip-ad-comm.md) diff --git a/mip-ad/setting/example.preset b/mip-ad/setting/example.preset new file mode 100644 index 000000000..f5c5ae140 --- /dev/null +++ b/mip-ad/setting/example.preset @@ -0,0 +1,16 @@ + Date: Tue, 15 Nov 2016 15:16:38 +0800 Subject: [PATCH 2/2] =?UTF-8?q?update:=20=E7=95=85=E8=A8=80=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=E7=9B=AE=E5=BD=95=E7=BB=93=E6=9E=84=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mip-changyan/mip-changyan.js | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 mip-changyan/mip-changyan.js diff --git a/mip-changyan/mip-changyan.js b/mip-changyan/mip-changyan.js new file mode 100644 index 000000000..af23e44b0 --- /dev/null +++ b/mip-changyan/mip-changyan.js @@ -0,0 +1,30 @@ +/** +* 畅言插件 +* @author smileU +* @version 1.0.0 +*/ +define(function(require) { + var $ = require('zepto'); + + var customElement = require('customElement').create(); + + customElement.prototype.createdCallback = function () { + + var _element = this.element; + + var appid = _element.getAttribute('appid'), + conf = _element.getAttribute("conf"); + + var $_element = $(_element); + var html = [ + '' + ]; + + $_element.append(html.join('')); + } + + return customElement; + +});