acidstudios / angular-trello Goto Github PK
View Code? Open in Web Editor NEWAngular Wrapper for Trello API
License: MIT License
Angular Wrapper for Trello API
License: MIT License
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
Am I right?
Would you be interested for a PR?
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
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);
}]);
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.