Skip to content

Commit

Permalink
Fixes "Controller.LinearSpline is not a constructor" error
Browse files Browse the repository at this point in the history
  • Loading branch information
nolimits4web committed Dec 4, 2017
1 parent bc4149b commit fc078ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/controller/controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import Swiper from '../core/core-class';
import Utils from '../../utils/utils';

const Controller = {
LinearSpline(x, y) {
LinearSpline: function LinearSpline(x, y) {
const binarySearch = (function search() {
let maxIndex;
let minIndex;
Expand Down

0 comments on commit fc078ef

Please sign in to comment.