Code Monkey home page Code Monkey logo

anujs-webpack4-ie7-8's People

Contributors

magicapple avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

anujs-webpack4-ie7-8's Issues

使用anujs/dist/Router.js做路由,在ie8下报SCRIPT5014: Object.prototype.propertyIsEnumerable: 'this' 不是 JavaScript 对象的错误

`import "core-js";
import React from "react";
import ReactDOM from "react-dom";
// import Box from './box';
// import ErrorBoundary from './errorBoundary';
// import ErrorComp from './errorComp';
// import SelectBox from './selectBox';
// import WrapBox from './wrapBox';
import { Link, Router } from "router";
const Home = () => (

home dash
); const Dash = () =>
dash
; const render = function render() { ReactDOM.render(
, document.getElementById("root") ); };

render();`

  • SCRIPT5014: Object.prototype.propertyIsEnumerable: 'this' 不是 JavaScript 对象

ajax problem

i used axios and es6-promise at the head of the file(index.js)
error with "Unhandled promise rejection Error: 拒绝访问。"

use fetch-polyfill2,json3,blueBird still did not work
I am appreciate it if u can tell me how to fix,
thanks again

win10拉下来直接运行,提示:Tapable.plugin is deprecated. Use new API on `.hooks` instead


系统环境

  • OS: Windows10_64bit
  • node: v8.12.0
  • npm: 6.4.1
  • npm source: https://registry.npm.taobao.org/

运行方式

  • npm install
  • npm run start

提示如下:

> [email protected] start D:\private\anujs-webpack4-ie7-8
> node ./bin/dev.js

正在删除目录

webpack is watching the files…

(node:20760) DeprecationWarning: Tapable.plugin is deprecated. Use new API on `.hooks` instead
Hash: 83267094ee1bde66d79c
Version: webpack 4.20.2
Time: 2495ms
Built at: 2018-10-15 09:18:14
               Asset       Size      Chunks             Chunk Names
    js/production.js    544 KiB  production  [emitted]  production
js/production.js.map    426 KiB  production  [emitted]  production
     production.html  879 bytes              [emitted]
Entrypoint production = js/production.js js/production.js.map
[./node_modules/webpack/buildin/global.js] (webpack)/buildin/global.js 509 bytes {production} [built]
[./views/production/app.jsx] 6.66 KiB {production} [built]
[./views/production/box.jsx] 2.02 KiB {production} [built]
[./views/production/changDom.jsx] 3.83 KiB {production} [built]
[./views/production/createContext.jsx] 3.23 KiB {production} [built]
[./views/production/differentParent.jsx] 2.49 KiB {production} [built]
[./views/production/errorBoundary.jsx] 2.56 KiB {production} [built]
[./views/production/errorComp.jsx] 1.73 KiB {production} [built]
[./views/production/fixInsertDom.jsx] 4.6 KiB {production} [built]
[./views/production/innerBox.jsx] 3.04 KiB {production} [built]
[./views/production/insertDom.jsx] 3.96 KiB {production} [built]
[./views/production/selectBox.jsx] 4.36 KiB {production} [built]
[./views/production/wrapBox.jsx] 3.3 KiB {production} [built]
    + 304 hidden modules
Child HtmlWebpackCompiler:
     1 asset
    Entrypoint HtmlWebpackPlugin_0 = __child-HtmlWebpackPlugin_0
    [./node_modules/html-webpack-plugin/lib/loader.js!./views/production/index.ejs] 1.07 KiB {HtmlWebpackPlugin_0} [built]
    [./node_modules/webpack/buildin/global.js] (webpack)/buildin/global.js 509 bytes {HtmlWebpackPlugin_0} [built]
    [./node_modules/webpack/buildin/module.js] (webpack)/buildin/module.js 519 bytes {HtmlWebpackPlugin_0} [built]
        + 1 hidden module

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.