Giter Club home page Giter Club logo

angular-trello's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

angular-trello's Issues

Trello is undefined

hi,

When trying to instlal the provider I get the following error

 Uncaught ReferenceError: Trello is not defined

I do have to say I had to install by downloading the file. Bower is disabled here

Trello is undefined

Hi @acidstudios !

Thank you for this librairy!

I got the error "Trello is undefined" that I solved adding

<script src="http://code.jquery.com/jquery-1.7.1.min.js"></script> <script src="https://api.trello.com/1/client.js?key=[AppKey]"></script>

on my index.html.

The best fix would be to avoid to have to add the scripts in the index.html.
An alternative solution would be to add the lines in your readme.

Or am I missing something?

Thank you

all Karma test failed with phantomJS

when i use angular-trello modules into my service with phantomJS,
all my karma test is failed with below error code

Failed  should return task description group list. if empty, return empty   Filter: taskGroupToMe 
TypeError: 'undefined' is not an object (evaluating 's.parentNode') at /home/comtin/.jenkins/jobs/dev-deploy-dooray-was/workspace/src/main/webapp/client/app/bower_components/angular-trello/src/angular-trello.js:111 at invoke (/home/comtin/.jenkins/jobs/dev-deploy-dooray-was/workspace/src/main/webapp/client/app/bower_components/angular/angular.js:4523) at /home/comtin/.jenkins/jobs/dev-deploy-dooray-was/workspace/src/main/webapp/client/app/bower_components/angular/angular.js:4344 at forEach (/home/comtin/.jenkins/jobs/dev-deploy-dooray-was/workspace/src/main/webapp/client/app/bower_components/angular/angular.js:340) at createInjector (/home/comtin/.jenkins/jobs/dev-deploy-dooray-was/workspace/src/main/webapp/client/app/bower_components/angular/angular.js:4344) at workFn (/home/comtin/.jenkins/jobs/dev-deploy-dooray-was/workspace/src/main/webapp/client/app/bower_components/angular-mocks/angular-mocks.js:2428)
Failed  should return task description group list with ascending order input.   Filter: taskGroupToMe 
TypeError: 'undefined' is not an object (evaluating 's.parentNode') at /home/comtin/.jenkins/jobs/dev-deploy-dooray-was/workspace/src/main/webapp/client/app/bower_components/angular-trello/src/angular-trello.js:111 at invoke (/home/comtin/.jenkins/jobs/dev-deploy-dooray-was/workspace/src/main/webapp/client/app/bower_components/angular/angular.js:4523) at /home/comtin/.jenkins/jobs/dev-deploy-dooray-was/workspace/src/main/webapp/client/app/bower_components/angular/angular.js:4344 at forEach (/home/comtin/.jenkins/jobs/dev-deploy-dooray-was/workspace/src/main/webapp/client/app/bower_components/angular/angular.js:340) at createInjector (/home/comtin/.jenkins/jobs/dev-deploy-dooray-was/workspace/src/main/webapp/client/app/bower_components/angular/angular.js:4344) at workFn (/home/comtin/.jenkins/jobs/dev-deploy-dooray-was/workspace/src/main/webapp/client/app/bower_components/angular-mocks/angular-mocks.js:2428)
Failed  should return task description group list with descending order input.  Filter: taskGroupToMe 
TypeError: 'undefined' is not an object (evaluating 's.parentNode') at /home/comtin/.jenkins/jobs/dev-deploy-dooray-was/workspace/src/main/webapp/client/app/bower_components/angular-trello/src/angular-trello.js:111 at invoke (/home/comtin/.jenkins/jobs/dev-deploy-dooray-was/workspace/src/main/webapp/client/app/bower_components/angular/angular.js:4523) at /home/comtin/.jenkins/jobs/dev-deploy-dooray-was/workspace/src/main/webapp/client/app/bower_components/angular/angular.js:4344 at forEach (/home/comtin/.jenkins/jobs/dev-deploy-dooray-was/workspace/src/main/webapp/client/app/bower_components/angular/angular.js:340) at createInjector (/home/comtin/.jenkins/jobs/dev-deploy-dooray-was/workspace/src/main/webapp/client/app/bower_components/angular/angular.js:4344) at workFn (/home/comtin/.jenkins/jobs/dev-deploy-dooray-was/workspace/src/main/webapp/client/app/bower_components/angular-mocks/angular-mocks.js:2428)
Failed  should return date group list. if userId has assigned task, add completedAt property the task   Filter: taskGroupToMe 
TypeError: 'undefined' is not an object (evaluating 's.parentNode') at /home/comtin/.jenkins/jobs/dev-deploy-dooray-was/workspace/src/main/webapp/client/app/bower_components/angular-trello/src/angular-trello.js:111 at invoke (/home/comtin/.jenkins/jobs/dev-deploy-dooray-was/workspace/src/main/webapp/client/app/bower_components/angular/angular.js:4523) at /home/comtin/.jenkins/jobs/dev-deploy-dooray-was/workspace/src/main/webapp/client/app/bower_components/angular/angular.js:4344 at forEach (/home/comtin/.jenkins/jobs/dev-deploy-dooray-was/workspace/src/main/webapp/client/app/bower_components/angular/angular.js:340) at createInjector (/home/comtin/.jenkins/jobs/dev-deploy-dooray-was/workspace/src/main/webapp/client/app/bower_components/angular/angular.js:4344) at workFn (/home/comtin/.jenkins/jobs/dev-deploy-dooray-was/workspace/src/main/webapp/client/app/bower_components/angular-mocks/angular-mocks.js:2428)

I think you need exception code like in angular-trello.js

...
}]).run([function(){
        var script = document.createElement('script');
        script.type = 'text/javascript';
        script.async = true;
        script.src = 'https://api.trello.com/1/client.js?key=' + options.key;
        var s = document.getElementsByTagName('script')[0];
        s && s.parentNode.insertBefore(script, s);
    }]);

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.