Git Product home page Git Product logo

nopejs's People

Contributors

bengadbois avatar ed588 avatar kochmaxence 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

fo5 maximel

nopejs's Issues

Actually say "nope", instead of nothing.

Problem:

The documentation for NopeJS clearly states:

NopeJS says "nope!" to the JS and stops execution.

But it really isn't saying anything (throw '';). Newcomers to NopeJS might be confused to find out that execution was in fact stopped, but nothing was actually said to the JS.

Resolution 1:

The throw statement should be switched to throw 'nope!'.

Resolution 2:

Change the documentation to reflect reality:

sed -i 's/"nope!"/""/' README.md

Resulting in:

NopeJS says "" to the JS and stops execution.

Comments:

I prefer resolution number one. I know this would result in a whopping 5 byte addition to all source files (even the minified versions), which in turn will make the code almost twice as slow (not tested), but I think it would be worth it in the long run.

Commenting should be added to code

Hi, it is not clear what the code is doing. Please add comments to allow us, contributors, understand your code.

Thanks,

The JS community

Broken image in npm package README

Here is the contents of README.md in npm:

![Nope](http://i.imgur.com/dW3Nt4A.png)

NopeJS says "Nope!" to Javascript and stops all execution

I suggest changing the image URL to the following:

![Nope](https://raw.githubusercontent.com/bengadbois/nopejs/master/logo.png)

Thank you. I hope this contribution helps to grow the nopejs community.

Scalability issues

Nope.js do not seem to be compatible with React, AMD, CommonJS and Express, making this library unsuitable for entreprise needs. Please fix this.

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.