xmaestro / ng2-tagsinput Goto Github PK
View Code? Open in Web Editor NEWTypescript component for Tag Input
Typescript component for Tag Input
Hi.
With angular 2.0.0-rc.5, we found an issue
Step to reproduce :
We corrected this issue by changing the lines 146 to 150 in the file ng2-tagsinput.ts, replacing them with
if (!this.selectedTag) {
this.selectedTag = this.tagsList.length - 1;
}
this._removeTag(this.selectedTag);
`
ERROR in /Users/cpu/Sites/hello/src/$$_gendir/node_modules/ng2-tagsinput/lib/ng2-tagsinput.ngfactory.ts (327,35): Supplied parameters do not match any signature of call target.
{
"name": "Hello",
"version": "1.0.0",
"angular-cli": {},
"scripts": {
"start": "ng serve",
"lint": "tslint \"src/**/*.ts\"",
"test": "ng test",
"pree2e": "webdriver-manager update",
"e2e": "protractor"
},
"private": true,
"dependencies": {
"@angular/common": "^2.4.10",
"@angular/compiler": "^2.4.10",
"@angular/compiler-cli": "^2.4.10",
"@angular/core": "^2.4.10",
"@angular/forms": "~2.4.10",
"@angular/http": "~2.4.10",
"@angular/platform-browser": "^2.4.10",
"@angular/platform-browser-dynamic": "^2.4.10",
"@angular/router": "~3.4.9",
"core-js": "^2.4.1",
"ng2-tagsinput": "^0.1.2",
"rxjs": "^5.0.3",
"ts-helpers": "^1.1.1",
"zone.js": "^0.7.8"
},
"devDependencies": {
"@angular/cli": "^1.0.0",
"@types/jasmine": "^2.2.30",
"@types/node": "^7.0.8",
"codelyzer": "2.0.1",
"jasmine-core": "2.5.2",
"jasmine-spec-reporter": "3.2.0",
"karma": "1.5.0",
"karma-chrome-launcher": "^2.0.0",
"karma-cli": "^1.0.1",
"karma-jasmine": "^1.0.2",
"karma-remap-istanbul": "^0.6.0",
"protractor": "5.1.1",
"ts-node": "2.1.0",
"tslint": "4.5.1",
"typescript": "~2.2.1",
"webdriver-manager": "12.0.3"
}
}
Could you please help me to fix it ?
It appears While "ng build --prod" in versions 0.1.4, 0.1.3, 0.1.2, 0.1.1, 0.1.0.
It is easy err I think but as owner you know more so would be simpler.
Error is about inconsistency in some function parameters.
Thank you!
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.