omis - v0.9.0
* Fix variable name(__o_) of obaa are compressed
This commit is contained in:
parent
c63e978ddf
commit
5108d6cf62
|
@ -1,5 +1,5 @@
|
|||
/**
|
||||
* omis v0.10.0 http://omijs.org
|
||||
* omis v0.11.0 http://omijs.org
|
||||
* Omi === Preact + Scoped CSS + Store System + Native Support in 3kb javascript.
|
||||
* By dntzhang https://github.com/dntzhang
|
||||
* Github: https://github.com/Tencent/omis
|
||||
|
@ -1358,7 +1358,7 @@
|
|||
}
|
||||
|
||||
function watch(target, prop, path, root) {
|
||||
if (prop === '__o_') return;
|
||||
if (prop === '$_o') return;
|
||||
if (isFunction(target[prop])) return;
|
||||
if (!target.$_o) target.$_o = {
|
||||
$_r: root
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1,5 +1,5 @@
|
|||
/**
|
||||
* omis v0.10.0 http://omijs.org
|
||||
* omis v0.11.0 http://omijs.org
|
||||
* Omi === Preact + Scoped CSS + Store System + Native Support in 3kb javascript.
|
||||
* By dntzhang https://github.com/dntzhang
|
||||
* Github: https://github.com/Tencent/omis
|
||||
|
@ -1355,7 +1355,7 @@ function mock(target, root) {
|
|||
}
|
||||
|
||||
function watch(target, prop, path, root) {
|
||||
if (prop === '__o_') return;
|
||||
if (prop === '$_o') return;
|
||||
if (isFunction(target[prop])) return;
|
||||
if (!target.$_o) target.$_o = {
|
||||
$_r: root
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -539,7 +539,7 @@
|
|||
});
|
||||
}
|
||||
function watch(target, prop, path, root) {
|
||||
if ('__o_' !== prop) if (!isFunction(target[prop])) {
|
||||
if ('$_o' !== prop) if (!isFunction(target[prop])) {
|
||||
if (!target.$_o) target.$_o = {
|
||||
$_r: root
|
||||
};
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "omis",
|
||||
"version": "0.10.0",
|
||||
"version": "0.11.0",
|
||||
"description": "Functional Component with store, scoped css and easy hyperscript.",
|
||||
"main": "dist/omis.js",
|
||||
"jsnext:main": "dist/omis.esm.js",
|
||||
|
|
|
@ -137,7 +137,7 @@ function mock(target, root) {
|
|||
}
|
||||
|
||||
function watch(target, prop, path, root) {
|
||||
if (prop === '__o_') return
|
||||
if (prop === '$_o') return
|
||||
if (isFunction(target[prop])) return
|
||||
if (!target.$_o) target.$_o = {
|
||||
$_r: root
|
||||
|
|
Loading…
Reference in New Issue