Skip to content

Commit

Permalink
~ 不再兼容 IE8 及以下
Browse files Browse the repository at this point in the history
  • Loading branch information
cloudcome committed Nov 28, 2016
1 parent dbcac32 commit 6e357d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "blear.core.modification",
"version": "1.0.1",
"version": "1.0.2",
"description": "DOM 修改",
"scripts": {
"live": "browser-sync start --config bs-config.js",
Expand Down Expand Up @@ -37,7 +37,6 @@
},
"dependencies": {},
"peerDependencies": {
"blear.polyfills.sibling": "1.x",
"blear.utils.object": "1.x",
"blear.utils.typeis": "1.x",
"blear.utils.json": "1.x",
Expand Down
3 changes: 1 addition & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

'use strict';

var sibling = require('blear.polyfills.sibling');
var object = require('blear.utils.object');
var typeis = require('blear.utils.typeis');
var json = require('blear.utils.json');
Expand Down Expand Up @@ -51,7 +50,7 @@ var AFTER_END = 'afterend';
*/
exports.parse = function (htmlString) {
divEl.innerHTML = htmlString;
return sibling.firstElementChild(divEl);
return divEl.firstElementChild;
};


Expand Down

0 comments on commit 6e357d8

Please sign in to comment.