Skip to content

Commit

Permalink
chore: change version
Browse files Browse the repository at this point in the history
  • Loading branch information
bailicangdu committed Jul 21, 2022
1 parent b9e4811 commit 3900039
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 deletions.
32 changes: 16 additions & 16 deletions dev/children/react16/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -287,19 +287,19 @@ window.addEventListener('hashchange', (e) => {


/* ---------------------- 选择器 -- Document原型方法绑定ProxyDocument --------------------- */
console.log('querySelectorAll: ', Document.prototype.querySelectorAll.call(document, 'span'))
console.log('querySelectorAll head: ', Document.prototype.querySelectorAll.call(document, 'head'))
console.log('querySelector: ', Document.prototype.querySelector.call(document, 'div'))
console.log('querySelector head: ', Document.prototype.querySelector.call(document, 'head'))
console.log('createElement: ', Document.prototype.createElement.call(document, 'div'))
console.log('createElementNS: ', Document.prototype.createElementNS.call(document, 'http://www.w3.org/2000/svg', 'svg'))
console.log('createDocumentFragment: ', Document.prototype.createDocumentFragment.call(document))
console.log('getElementById: ', Document.prototype.getElementById.call(document, '1abc'))
console.log('getElementsByClassName: ', Document.prototype.getElementsByClassName.call(document, '1abc'))
console.log('getElementsByTagName: ', Document.prototype.getElementsByTagName.call(document, '1abc'))
console.log('getElementsByName: ', Document.prototype.getElementsByName.call(document, '1abc'))

console.log('Document.prototype.createAttribute: ', Document.prototype.createAttribute.call(document, 'abc'))
console.log('document.createAttribute: ', document.createAttribute.call(document, 'abc'))
console.log('document instanceof Document', document instanceof Document)
console.log('new Document() ', new Document())
// console.log('querySelectorAll: ', Document.prototype.querySelectorAll.call(document, 'span'))
// console.log('querySelectorAll head: ', Document.prototype.querySelectorAll.call(document, 'head'))
// console.log('querySelector: ', Document.prototype.querySelector.call(document, 'div'))
// console.log('querySelector head: ', Document.prototype.querySelector.call(document, 'head'))
// console.log('createElement: ', Document.prototype.createElement.call(document, 'div'))
// console.log('createElementNS: ', Document.prototype.createElementNS.call(document, 'http://www.w3.org/2000/svg', 'svg'))
// console.log('createDocumentFragment: ', Document.prototype.createDocumentFragment.call(document))
// console.log('getElementById: ', Document.prototype.getElementById.call(document, '1abc'))
// console.log('getElementsByClassName: ', Document.prototype.getElementsByClassName.call(document, '1abc'))
// console.log('getElementsByTagName: ', Document.prototype.getElementsByTagName.call(document, '1abc'))
// console.log('getElementsByName: ', Document.prototype.getElementsByName.call(document, '1abc'))

// console.log('Document.prototype.createAttribute: ', Document.prototype.createAttribute.call(document, 'abc'))
// console.log('document.createAttribute: ', document.createAttribute.call(document, 'abc'))
// console.log('document instanceof Document', document instanceof Document)
// console.log('new Document() ', new Document())
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@micro-zoe/micro-app",
"version": "1.0.0-alpha.2",
"version": "1.0.0-alpha.3",
"description": "A lightweight, efficient and powerful micro front-end framework",
"private": false,
"main": "lib/index.min.js",
Expand Down

0 comments on commit 3900039

Please sign in to comment.