{"action":"opened","issue":{"url":"https://api.github.com/repos/voidberg/html5sortable/issues/182","labels_url":"https://api.github.com/repos/voidberg/html5sortable/issues/182/labels{/name}","comments_url":"https://api.github.com/repos/voidberg/html5sortable/issues/182/comments","events_url":"https://api.github.com/repos/voidberg/html5sortable/issues/182/events","html_url":"https://github.com/voidberg/html5sortable/issues/182","id":109694681,"number":182,"title":"module is not defined","user":{"login":"seanpaulkelley","id":8125357,"avatar_url":"https://avatars.githubusercontent.com/u/8125357?v=3","gravatar_id":"","url":"https://api.github.com/users/seanpaulkelley","html_url":"https://github.com/seanpaulkelley","followers_url":"https://api.github.com/users/seanpaulkelley/followers","following_url":"https://api.github.com/users/seanpaulkelley/following{/other_user}","gists_url":"https://api.github.com/users/seanpaulkelley/gists{/gist_id}","starred_url":"https://api.github.com/users/seanpaulkelley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seanpaulkelley/subscriptions","organizations_url":"https://api.github.com/users/seanpaulkelley/orgs","repos_url":"https://api.github.com/users/seanpaulkelley/repos","events_url":"https://api.github.com/users/seanpaulkelley/events{/privacy}","received_events_url":"https://api.github.com/users/seanpaulkelley/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-04T18:15:12Z","updated_at":"2015-10-04T18:15:12Z","closed_at":null,"body":"I am using your html5sortable source in following this tutorial:\r\nhttp://josephndungu.com/tutorials/ajax-sortable-lists-rails-4\r\n\r\nI am getting this error on chrome console when using in Rails:\r\nUncaught ReferenceError: module is not defined(anonymous function) @ html.sortable.self.js?body=1:433\r\n\r\nI noticed that the original tutorial did not have this error because it uses an older verion of your file:\r\nhtml.sortable.js\r\n\r\nI was going to use the older version too but I see that it does not allow me to drag items to position #1.\r\n\r\nIt looks like I get this error starting with your May 1 version:\r\nhttps://github.com/voidberg/html5sortable/commit/72bddf1c88c53b5ed29b6c087e06ce7e3a54a9d5#diff-f42dd2e6f1fc935a2fd8a4911d6dfb1a \r\n\r\nYour current demo demostrates error too:\r\nhttp://lukasoppermann.github.io/html5sortable/examples/index.html\r\n"}}