{"action":"created","issue":{"url":"https://api.github.com/repos/froala/wysiwyg-editor/issues/930","labels_url":"https://api.github.com/repos/froala/wysiwyg-editor/issues/930/labels{/name}","comments_url":"https://api.github.com/repos/froala/wysiwyg-editor/issues/930/comments","events_url":"https://api.github.com/repos/froala/wysiwyg-editor/issues/930/events","html_url":"https://github.com/froala/wysiwyg-editor/issues/930","id":117800541,"number":930,"title":"Browserify, PLUGINS undefined","user":{"login":"dsdenes","id":123850,"avatar_url":"https://avatars.githubusercontent.com/u/123850?v=3","gravatar_id":"","url":"https://api.github.com/users/dsdenes","html_url":"https://github.com/dsdenes","followers_url":"https://api.github.com/users/dsdenes/followers","following_url":"https://api.github.com/users/dsdenes/following{/other_user}","gists_url":"https://api.github.com/users/dsdenes/gists{/gist_id}","starred_url":"https://api.github.com/users/dsdenes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsdenes/subscriptions","organizations_url":"https://api.github.com/users/dsdenes/orgs","repos_url":"https://api.github.com/users/dsdenes/repos","events_url":"https://api.github.com/users/dsdenes/events{/privacy}","received_events_url":"https://api.github.com/users/dsdenes/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-19T12:08:43Z","updated_at":"2015-11-19T14:17:27Z","closed_at":"2015-11-19T14:17:27Z","body":"\"Uncaught TypeError: Cannot set property 'align' of undefined\"\r\n\r\nIt's quite hard to debug the minimalized code, so I don't have a clue what could be the problem.\r\nThe stack uses Browserify and Gulp. I suppose from the code that if the module.export is defined then it tries to require jQuery into the actual scope. But not in the the case of plugins.\r\n\r\nI've installed the npm version, but changed to the latest one from the master branch.\r\n\r\n// index.js\r\n\r\nrequire('node_modules/froala-editor/js/froala_editor.min.js');\r\n\r\n// here throws the error, at \"use strict\";a.FroalaEditor.PLUGINS.align=function(b){funct\r\nrequire('node_modules/froala-editor/js/plugins/align.min.js'); \r\n\r\nrequire('node_modules/froala-editor/js/plugins/colors.min.js');\r\nrequire('node_modules/froala-editor/js/plugins/font_family.min.js');\r\nrequire('node_modules/froala-editor/js/plugins/font_size.min.js');"},"comment":{"url":"https://api.github.com/repos/froala/wysiwyg-editor/issues/comments/158070078","html_url":"https://github.com/froala/wysiwyg-editor/issues/930#issuecomment-158070078","issue_url":"https://api.github.com/repos/froala/wysiwyg-editor/issues/930","id":158070078,"user":{"login":"dsdenes","id":123850,"avatar_url":"https://avatars.githubusercontent.com/u/123850?v=3","gravatar_id":"","url":"https://api.github.com/users/dsdenes","html_url":"https://github.com/dsdenes","followers_url":"https://api.github.com/users/dsdenes/followers","following_url":"https://api.github.com/users/dsdenes/following{/other_user}","gists_url":"https://api.github.com/users/dsdenes/gists{/gist_id}","starred_url":"https://api.github.com/users/dsdenes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsdenes/subscriptions","organizations_url":"https://api.github.com/users/dsdenes/orgs","repos_url":"https://api.github.com/users/dsdenes/repos","events_url":"https://api.github.com/users/dsdenes/events{/privacy}","received_events_url":"https://api.github.com/users/dsdenes/received_events","type":"User","site_admin":false},"created_at":"2015-11-19T14:17:27Z","updated_at":"2015-11-19T14:17:27Z","body":"Thanks, the newest version has solved the problem. Some still remained, but I'll open a new case for them."}}