Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix build - issue #3 #4

Merged
merged 4 commits into from
Jun 6, 2017
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 12 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,19 @@
},
"homepage": "https://github.com/PhilippStein/ng2-ion-range-slider#readme",
"devDependencies": {
"@angular/common": "~2.4.4",
"@angular/compiler": "~2.4.4",
"@angular/compiler-cli": "^2.4.9",
"@angular/core": "~2.4.4",
"typescript": "^2.0.9"
"@angular/common": "2.4.4",
"@angular/compiler": "2.4.4",
"@angular/compiler-cli": "2.4.4",
"@angular/core": "2.4.4",
"@types/core-js": "^0.9.41",
"typescript": "2.0.9"
},
"dependencies": {
"@angular/core": ">=2.4.4",
"@angular/core": "2.4.4",
"@types/jquery": "^2.0.40",
"ion-rangeslider": "^2.1.6"
"ion-rangeslider": "2.1.6",
"rxjs": "^5.4.0",
"zone.js": "^0.7.8",
"@types/node": "~6.0.60"
}
}
}
4 changes: 2 additions & 2 deletions src/ion-range-slider.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ export class IonRangeSliderComponent implements OnChanges{

private initSlider() {
let that = this;
jQuery(this.inputElem).ionRangeSlider({
(<any>jQuery(this.inputElem)).ionRangeSlider({
min: that.min,
max: that.max,
from: that.from,
Expand Down Expand Up @@ -172,7 +172,7 @@ export class IonRangeSliderComponent implements OnChanges{
this.to_percent = data.to_percent;
this.to_value = data.to_value;
}

private buildCallback(): IonRangeSliderCallback {
let callback = new IonRangeSliderCallback();
callback.min = this.min;
Expand Down
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"compilerOptions": {
"target": "es6",
"target": "es5",
"module": "commonjs",
"moduleResolution": "node",
"sourceMap": true,
Expand All @@ -10,6 +10,7 @@
"noImplicitAny": false,
"suppressImplicitAnyIndexErrors": true,
"declaration": true,
"lib": ["es2015", "dom"],
"outDir": "lib",
"rootDir": "src"
},
Expand Down