Commit 6e98d19
authored
8.27 核心上线 (#690)
* 单页跳转透传 hash
* add cambrian logo and title
* add cambrian logo and title
* fixed: 修复 iOS 百度 APP 下的页面无法滚动的问题
* [feat] MIP 交互机制升级 (#656)
* add parser
* 添加全局行为
* 增加 event 语法规则
* 添加 navigateTo,fix code
* rewrite mip event
* finish mip event parse
* add visitor
* update
* add arrow
* fix property & callexpression bug
* 整合全局方法
* fix callexpression bug
* 调整代码
* update code
* fix objectexpression bug
* update whitelist
* update test case
* add test case
* modify test case
* add DOM
* 修复 Identifier bug
* 修复 Identifier bug
* add mip-action
* update code
* add argument scope
* 修改路径
* update path
* 打通 action 数据传递
* fix mdata bug
* fix element action bug
* 增加兼容逻辑
* 重写 mip-bind 方法
* update code
* add setData parse fallback
* update bindStyle
* update bindStyle
* update bindStyle
* 增加 watch
* 增加 input 的双向绑定
* 删除无用文件
* 修改 mip-bin 入口
* update code
* 拆分 bind.js
* 拆分 mip-bind/bind.js
* add input global event
* update event action spec
* 修复 style binding
* remove only
* update input global event and toggleVisibility
* 去除 mip-shell/render.js 调用 MIP. 的逻辑
* change lexer from class to function
* add test page
* 优化 lexer 机制
* 修改 lexer 策略
* update test page
* update unit test
* 补 testcase
* 补全 testcase
* 修改 ArrayLiteral 对最后一个 comma 的处理
* 增加测试描述
* add unit test
* add complex function testcase
* fix scrollTO hidden element
* fix can not find mip1 custom element action
* 修复 setData 接收 Vue 响应式对象时疯狂报错的问题
* fix isObject
* 修复 mip-bind 覆盖 MIP.setData 的bug
* 修复 lgtm 所提示的循环中使用 splice 的问题
* fix lgtm alerts
* 修复 bind & vnavigateTo 在 IOS8 下面无法正常工作的兼容性 bug
* 移除 mip-img popup 对 loaded 的筛选 (#668)
* 移除 mip-img popup 对 loaded 的筛选
* fix: hash 锚点追加的问题&pc 页面空白问题&添加百度 APP iOS 通信功能
* fix: hash 锚点追加的问题&pc 页面空白问题&添加百度 APP iOS 通信功能
* fix: hash 锚点追加的问题&pc 页面空白问题&添加百度 APP iOS 通信功能
* fix: hash 锚点追加的问题&pc 页面空白问题&添加百度 APP iOS 通信功能
* 修复 scrollToHash 当锚点的祖先存在�定位元素时不能滚动到锚点的问题 (#675)
* [feat] mip-bind 功能升级 (#685)
* add scoped mip-data
* update mip-bind dom diff
* 增加 mip-data 的 refresh
* update dom watch
* update dom watcher
* change scoped to scope
* 修复部分 test case
* 优化报错信息
* fix docs
* 增加单测覆盖率
* 补充 testcase
* 新增 mip-data fetchjsonp 支持
* 去掉 mip-data 的 JSONP 支持1 parent 98c1468 commit 6e98d19
File tree
19 files changed
+662
-235
lines changed- docs/docs/interactive-mip/data-binding
- packages/mip
- src
- components
- mip-bind
- util/event-action
- visitor
- whitelist
- test/specs
- components
- util
- parser
19 files changed
+662
-235
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
206 | 206 | | |
207 | 207 | | |
208 | 208 | | |
209 | | - | |
| 209 | + | |
210 | 210 | | |
211 | 211 | | |
212 | 212 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
247 | 247 | | |
248 | 248 | | |
249 | 249 | | |
250 | | - | |
| 250 | + | |
251 | 251 | | |
252 | 252 | | |
253 | | - | |
| 253 | + | |
254 | 254 | | |
255 | 255 | | |
256 | | - | |
| 256 | + | |
257 | 257 | | |
258 | 258 | | |
259 | 259 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
37 | | - | |
| 38 | + | |
38 | 39 | | |
39 | 40 | | |
40 | 41 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | 31 | | |
33 | 32 | | |
34 | 33 | | |
35 | 34 | | |
36 | | - | |
37 | 35 | | |
38 | 36 | | |
39 | 37 | | |
| |||
44 | 42 | | |
45 | 43 | | |
46 | 44 | | |
47 | | - | |
48 | 45 | | |
49 | 46 | | |
50 | 47 | | |
Lines changed: 140 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
0 commit comments