{"action":"opened","issue":{"url":"https://api.github.com/repos/abe33/atom-pigments/issues/139","repository_url":"https://api.github.com/repos/abe33/atom-pigments","labels_url":"https://api.github.com/repos/abe33/atom-pigments/issues/139/labels{/name}","comments_url":"https://api.github.com/repos/abe33/atom-pigments/issues/139/comments","events_url":"https://api.github.com/repos/abe33/atom-pigments/issues/139/events","html_url":"https://github.com/abe33/atom-pigments/issues/139","id":131848172,"number":139,"title":"Atom error when splitting color palette","user":{"login":"marpala","id":439204,"avatar_url":"https://avatars.githubusercontent.com/u/439204?v=3","gravatar_id":"","url":"https://api.github.com/users/marpala","html_url":"https://github.com/marpala","followers_url":"https://api.github.com/users/marpala/followers","following_url":"https://api.github.com/users/marpala/following{/other_user}","gists_url":"https://api.github.com/users/marpala/gists{/gist_id}","starred_url":"https://api.github.com/users/marpala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marpala/subscriptions","organizations_url":"https://api.github.com/users/marpala/orgs","repos_url":"https://api.github.com/users/marpala/repos","events_url":"https://api.github.com/users/marpala/events{/privacy}","received_events_url":"https://api.github.com/users/marpala/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-06T11:49:56Z","updated_at":"2016-02-06T11:49:56Z","closed_at":null,"body":"[Enter steps to reproduce below:]\r\n\r\n1. Right click on Pigment's color palette tab\r\n2. Choose Split right (or left, etc.)\r\n\r\n**Atom Version**: 1.4.3\r\n**System**: Mac OS X 10.11.3\r\n**Thrown From**: [tabs](https://github.com/atom/tabs) package, v0.88.0\r\n\r\n\r\n### Stack Trace\r\n\r\nUncaught TypeError: item.serialize is not a function\r\n\r\n```\r\nAt /Applications/Atom.app/Contents/Resources/app.asar/node_modules/tabs/lib/tab-bar-view.js:401\r\n\r\nTypeError: item.serialize is not a function\r\n    at atom-tabs.TabBarView.copyItem (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/tabs/lib/tab-bar-view.js:401:133)\r\n    at atom-tabs.TabBarView.splitTab (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/tabs/lib/tab-bar-view.js:391:31)\r\n    at Object.addElementCommands.tabs:split-right (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/tabs/lib/tab-bar-view.js:127:26)\r\n    at atom-tabs.commandsWithPropagationStopped.(anonymous function) (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/tabs/lib/tab-bar-view.js:78:36)\r\n    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:260:29)\r\n    at CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61)\r\n    at CommandRegistry.module.exports.CommandRegistry.dispatch (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:160:19)\r\n    at AtomEnvironment.module.exports.AtomEnvironment.dispatchContextMenuCommand (/Applications/Atom.app/Contents/Resources/app.asar/src/atom-environment.js:1019:28)\r\n    at emitTwo (events.js:87:13)\r\n    at EventEmitter.emit (events.js:172:7)\r\n    at EventEmitter.ipc.sendSync (/Applications/Atom.app/Contents/Resources/atom.asar/renderer/api/lib/ipc.js:21:31)\r\n    at BrowserWindow.RemoteMemberFunction [as emit] (/Applications/Atom.app/Contents/Resources/atom.asar/renderer/api/lib/remote.js:143:29)\r\n    at ContextMenuManager.module.exports.ContextMenuManager.showForEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/context-menu-manager.js:156:33)\r\n    at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentContextmenu (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:250:47)\r\n    at HTMLDocument.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:3:61)\r\n```\r\n\r\n### Commands\r\n\r\n```\r\n     -0:02.4.0 tabs:split-right (li.tab.sortable.active.right-clicked)\r\n```\r\n\r\n### Config\r\n\r\n```json\r\n{\r\n  \"core\": {\r\n    \"disabledPackages\": [\r\n      \"foldingtext-for-atom\",\r\n      \"linter-rubocop\",\r\n      \"linter-pylint\"\r\n    ],\r\n    \"ignoredNames\": [\r\n      \"node_modules\",\r\n      \".sass-cache\",\r\n      \"CVS\",\r\n      \".git\",\r\n      \".svn\",\r\n      \".DS_Store\",\r\n      \"._*\",\r\n      \"Thumbs.db\",\r\n      \".hg\",\r\n      \"config.codekit\"\r\n    ]\r\n  }\r\n}\r\n```\r\n\r\n### Installed Packages\r\n\r\n```coffee\r\n# User\r\natom-html-preview, v0.1.13\r\natom-jade, v0.3.0\r\ncolor-picker, v2.1.1\r\nhighlight-selected, v0.11.2\r\nless-than-slash, v0.12.3\r\nlinter, v1.11.3\r\nlinter-csslint, v1.2.0\r\nlinter-jshint, v1.3.0\r\npigments, v0.23.1\r\nsync-settings, v0.6.0\r\n\r\n# Dev\r\nNo dev packages\r\n```\r\n"}}