Code Monkey home page Code Monkey logo

fusker's Issues

issue loading

Seem to have an issue loading fusker as I get:


/Users/cj/Dropbox/sd/acd/octopus/node_modules/fusker/lib/fusker.coffee:1
equire 'protege'
       ^^^^^^^^^

node.js:134
        throw e; // process.nextTick error, or 'error' event on first tick
        ^
27 Sep 13:10:50 - [ERROR] SyntaxError
SyntaxError: Unexpected string
    at Module._compile (module.js:406:25)
    at Object..js (module.js:417:10)
    at Object..js (/usr/local/lib/node_modules/node-dev/wrapper.js:57:18)
    at Module.load (module.js:343:31)
    at Function._load (module.js:302:12)
    at require (module.js:355:19)
    at Object.<anonymous> (/Users/cj/Dropbox/sd/acd/octopus/app.js:7:12)
    at Object.<anonymous> (/Users/cj/Dropbox/sd/acd/octopus/app.js:50:4)
    at Module._compile (module.js:411:26)
    at Object..js (module.js:417:10)

fusker messes with the global scope.

I'm filing this because I don't understand the benefits of adding the fusker object to the global scope.

Since it is widely considered as bad practice in the node.js community, I am curious about this.

needs rick roll

You can redirect the attacker to a photo of GWB, but no rick roll option?

Outlandish. I am offended!

Express and fusker

So, I'm trying to make this work, but no matter what I do (after add fusker) throws me this error:

TypeError: Object function (source, overwrite, deep) {
      var name, x, _i, _j, _len, _len2, _ref, _ref2;
      if (overwrite == null) overwrite = false;
      if (deep == null) deep = false;
      if (deep) {
        _ref = Object.getOwnPropertyNames(source);
        for (_i = 0, _len = _ref.length; _i < _len; _i++) {
          name = _ref[_i];
          if (this.hasOwnProperty(name && !overwrite)) continue;
          Object.defineProperty(this, name, Object.getOwnPropertyDescriptor(source, name));
        }
      } else {
        _ref2 = source.keys();
        for (_j = 0, _len2 = _ref2.length; _j < _len2; _j++) {
          x = _ref2[_j];
          if (this.hasOwnProperty(x && !overwrite)) continue;
          this[x] = source[x];
        }
      }
      return this;
    } has no method 'push'
    at Router._route (/home/alejandromg/dev/Dropbox/ulearn/node_modules/express/lib/router/index.js:396:6)
    at HTTPServer.merge (/home/alejandromg/dev/Dropbox/ulearn/node_modules/express/lib/http.js:556:31)
    at HTTPServer.<anonymous> (/home/alejandromg/dev/Dropbox/ulearn/node_modules/express/lib/http.js:575:17)
    at Array.forEach (native)
    at HTTPServer.all (/home/alejandromg/dev/Dropbox/ulearn/node_modules/express/lib/http.js:573:11)
    at Object.<anonymous> (/home/alejandromg/dev/Dropbox/ulearn/app.js:468:5)
    at Module._compile (module.js:432:26)
    at Object..js (module.js:450:10)
    at Module.load (module.js:351:31)
    at Function._load (module.js:310:12)

I saw the example but it's not working for me

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.