diff --git a/src/core/wxs/math.wxs b/src/core/wxs/math.wxs new file mode 100644 index 00000000..38ed7a89 --- /dev/null +++ b/src/core/wxs/math.wxs @@ -0,0 +1,7 @@ +function min(a,b){ + return Math.min(a,b); +} + +module.exports = { + min:min +} \ No newline at end of file diff --git a/src/textarea/index.wxml b/src/textarea/index.wxml index 5bb42b57..e5878a33 100644 --- a/src/textarea/index.wxml +++ b/src/textarea/index.wxml @@ -1,4 +1,5 @@ - + +