parent
ce42149f94
commit
6d61e12c58
|
@ -74,6 +74,9 @@ const PAD_END_NEXT = Buffer.from(`
|
||||||
|
|
||||||
var CSS_DEPS = {}
|
var CSS_DEPS = {}
|
||||||
function getBaseUrl() {
|
function getBaseUrl() {
|
||||||
|
if(window.LIBS_BASE_URL){
|
||||||
|
return
|
||||||
|
}
|
||||||
var stack
|
var stack
|
||||||
try {
|
try {
|
||||||
throw new Error() // 强制报错,以便捕获e.stack
|
throw new Error() // 强制报错,以便捕获e.stack
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "anot",
|
"name": "anot",
|
||||||
"version": "1.0.0",
|
"version": "1.0.1",
|
||||||
"description": "Anot - 迷你mvvm框架",
|
"description": "Anot - 迷你mvvm框架",
|
||||||
"main": "dist/anot.js",
|
"main": "dist/anot.js",
|
||||||
"files": [
|
"files": [
|
||||||
|
|
|
@ -166,8 +166,7 @@ function modelFactory(source, options) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function isSkip(k) {
|
function isSkip(k) {
|
||||||
return
|
return k.charAt(0) === '$' || k.slice(0, 2) === '__' || kernelProps[k]
|
||||||
k.charAt(0) === '$' || k.slice(0, 2) === '__' || kernelProps[k]
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//监听对象属性值的变化(注意,数组元素不是数组的属性),通过对劫持当前对象的访问器实现
|
//监听对象属性值的变化(注意,数组元素不是数组的属性),通过对劫持当前对象的访问器实现
|
||||||
|
|
Reference in New Issue