{"action":"created","issue":{"url":"https://api.github.com/repos/nolimits4web/swiper/issues/2239","repository_url":"https://api.github.com/repos/nolimits4web/swiper","labels_url":"https://api.github.com/repos/nolimits4web/swiper/issues/2239/labels{/name}","comments_url":"https://api.github.com/repos/nolimits4web/swiper/issues/2239/comments","events_url":"https://api.github.com/repos/nolimits4web/swiper/issues/2239/events","html_url":"https://github.com/nolimits4web/swiper/issues/2239","id":264438383,"node_id":"MDU6SXNzdWUyNjQ0MzgzODM=","number":2239,"title":"Uncaught TypeError: Controller.LinearSpline is not a constructor","user":{"login":"xavianaxw","id":8082158,"node_id":"MDQ6VXNlcjgwODIxNTg=","avatar_url":"https://avatars1.githubusercontent.com/u/8082158?v=4","gravatar_id":"","url":"https://api.github.com/users/xavianaxw","html_url":"https://github.com/xavianaxw","followers_url":"https://api.github.com/users/xavianaxw/followers","following_url":"https://api.github.com/users/xavianaxw/following{/other_user}","gists_url":"https://api.github.com/users/xavianaxw/gists{/gist_id}","starred_url":"https://api.github.com/users/xavianaxw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xavianaxw/subscriptions","organizations_url":"https://api.github.com/users/xavianaxw/orgs","repos_url":"https://api.github.com/users/xavianaxw/repos","events_url":"https://api.github.com/users/xavianaxw/events{/privacy}","received_events_url":"https://api.github.com/users/xavianaxw/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":16,"created_at":"2017-10-11T02:36:31Z","updated_at":"2018-06-25T08:16:16Z","closed_at":"2017-11-02T05:28:42Z","author_association":"NONE","body":"This is a (multiple allowed):\r\n* [x] bug\r\n* [ ] enhancement\r\n* [ ] feature-discussion (RFC)\r\n\r\n* Swiper Version: 4.0.0\r\n* Platform/Target and Browser Versions: Any\r\n\r\n### What you did\r\nA simple thumbs-gallery\r\n\r\n```\r\nthis.image = new Swiper(this.el.querySelector('.js-carousel-image'), {\r\n   effect: 'slide',\r\n   speed: 300,\r\n   loop: false,\r\n});\r\n\r\nthis.type = new Swiper(this.el.querySelector('.js-carousel-type'), {\r\n   effect: 'slide',\r\n   speed: 300,\r\n   loop: false,\r\n   navigation: {\r\n      nextEl: this.controls.next,\r\n      prevEl: this.controls.prev,\r\n   },\r\n});\r\n\r\nthis.image.controller.control = this.type;\r\nthis.type.controller.control = this.image;\r\n```\r\n\r\n### Expected Behavior\r\nBoth swipers to be able to control the sliding of each other\r\n\r\n### Actual Behavior\r\nError thrown on Google Chrome Debugger\r\n\r\n```\r\nUncaught TypeError: Controller.LinearSpline is not a constructor\r\n    at Swiper$1.getInterpolateFunction (webpack-internal:///23:5029:9)\r\n    at setControlledTranslate (webpack-internal:///23:5044:27)\r\n    at Swiper$1.setTranslate (webpack-internal:///23:5071:7)\r\n    at Swiper$1.setTranslate (webpack-internal:///23:5150:25)\r\n    at self.eventsListeners.(anonymous function).forEach (webpack-internal:///23:300:24)\r\n    at Array.forEach (<anonymous>)\r\n    at eventsArray.forEach (webpack-internal:///23:299:37)\r\n    at Array.forEach (<anonymous>)\r\n    at Swiper$1.emit (webpack-internal:///23:297:17)\r\n    at Swiper$1.setTranslate (webpack-internal:///23:940:10)\r\n```\r\n\r\nNot sure if this is a webpack issue or there needs to be some configuration with `alias`.\r\n\r\nAny suggestions welcomed!"},"comment":{"url":"https://api.github.com/repos/nolimits4web/swiper/issues/comments/399870004","html_url":"https://github.com/nolimits4web/swiper/issues/2239#issuecomment-399870004","issue_url":"https://api.github.com/repos/nolimits4web/swiper/issues/2239","id":399870004,"node_id":"MDEyOklzc3VlQ29tbWVudDM5OTg3MDAwNA==","user":{"login":"lock[bot]","id":33595554,"node_id":"MDM6Qm90MzM1OTU1NTQ=","avatar_url":"https://avatars1.githubusercontent.com/in/6672?v=4","gravatar_id":"","url":"https://api.github.com/users/lock%5Bbot%5D","html_url":"https://github.com/apps/lock","followers_url":"https://api.github.com/users/lock%5Bbot%5D/followers","following_url":"https://api.github.com/users/lock%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/lock%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/lock%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lock%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/lock%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/lock%5Bbot%5D/repos","events_url":"https://api.github.com/users/lock%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/lock%5Bbot%5D/received_events","type":"Bot","site_admin":false},"created_at":"2018-06-25T08:16:16Z","updated_at":"2018-06-25T08:16:16Z","author_association":"NONE","body":"This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.\n"}}
{"actor":{"display_login":"lock"}}