Giter VIP home page Giter VIP logo

evee.js's Introduction

Marco Quinten

badge_smq badge_fivesheep

A ๐Ÿ“ธ of my ๐Ÿง  right now

Languages
Programming My Skills
Tech My Skills

evee.js's People

Contributors

hypercubed avatar jaminfarr avatar splittydev 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  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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

evee.js's Issues

Use Strict Warning

Hello!

Does 'use strict'; is really necessary?

Here's the warning I'm receiving for a create-react-app project:

./src/smalldots/~/evee/dist/evee.js

/Users/hnordt/workspace/genesis/src/smalldots/node_modules/evee/dist/evee.js
  1:1  warning  'use strict' is unnecessary inside of modules  strict

โœ– 1 problem (0 errors, 1 warning)

ES5 version includes ES6 version and viceversa

The suggested import/require doesn't work as you expect.

echo "require('evee').Evee;" > index.js
browserify index.js
-> http://pastebin.com/2gdaAVmR

browserify's output contains both the ES6 and ES5 versions, so Evee 2 completely fails on non-ES6 browsers currently.

To do what you want, you need two files and not a joint entry point.

I'd suggest this configuration:

  • delete index.js
  • copy lib/evee.js to es6.js in prepublish
  • package.json:
    {
      "main": "dist/evee.js"
    }

This way you can import the two versions separately:

var Evee = require('evee'); //es5
var Evee = require('evee/es6'); //es6
import Evee from 'evee/es6'; //es6 + modules

Module evee/es6 not found.

I have just installed evee ^2.1.0 version.

The project description say:

The evee/es6 export is the ES6 version of evee, which is generally faster.

I'm trying to import using es6: import Evee from 'evee/es6'. But the module doesn't seem to exist. Getting the error Module not found: 'evee/es6'.

It's weird because it's fairly simple. Am I missing something?

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.