{"action":"created","issue":{"url":"https://api.github.com/repos/vitalets/x-editable/issues/496","labels_url":"https://api.github.com/repos/vitalets/x-editable/issues/496/labels{/name}","comments_url":"https://api.github.com/repos/vitalets/x-editable/issues/496/comments","events_url":"https://api.github.com/repos/vitalets/x-editable/issues/496/events","html_url":"https://github.com/vitalets/x-editable/issues/496","id":25783913,"number":496,"title":"Cannot read property 'defaults' of undefined - poshytips","user":{"login":"goosechaser","id":4441407,"avatar_url":"https://avatars.githubusercontent.com/u/4441407?v=3","gravatar_id":"","url":"https://api.github.com/users/goosechaser","html_url":"https://github.com/goosechaser","followers_url":"https://api.github.com/users/goosechaser/followers","following_url":"https://api.github.com/users/goosechaser/following{/other_user}","gists_url":"https://api.github.com/users/goosechaser/gists{/gist_id}","starred_url":"https://api.github.com/users/goosechaser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/goosechaser/subscriptions","organizations_url":"https://api.github.com/users/goosechaser/orgs","repos_url":"https://api.github.com/users/goosechaser/repos","events_url":"https://api.github.com/users/goosechaser/events{/privacy}","received_events_url":"https://api.github.com/users/goosechaser/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2014-01-17T02:43:22Z","updated_at":"2015-01-05T07:17:09Z","closed_at":null,"body":"Latest version. Using inline. Loading only CSS and JS. Error:\r\n\r\n```\r\nUncaught TypeError: Cannot read property 'defaults' of undefined \r\njquery-editable-poshytip.js:4642\r\n```\r\n\r\n```\r\n(function ($) {\r\n    \"use strict\";\r\n    \r\n    //extend methods\r\n    $.extend($.fn.editableContainer.Popup.prototype, {\r\n        containerName: 'poshytip',\r\n        innerCss: 'div.tip-inner',\r\n        defaults: $.fn.poshytip.defaults,\r\n        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/vitalets/x-editable/issues/comments/68675268","html_url":"https://github.com/vitalets/x-editable/issues/496#issuecomment-68675268","issue_url":"https://api.github.com/repos/vitalets/x-editable/issues/496","id":68675268,"user":{"login":"RickyLin","id":1393989,"avatar_url":"https://avatars.githubusercontent.com/u/1393989?v=3","gravatar_id":"","url":"https://api.github.com/users/RickyLin","html_url":"https://github.com/RickyLin","followers_url":"https://api.github.com/users/RickyLin/followers","following_url":"https://api.github.com/users/RickyLin/following{/other_user}","gists_url":"https://api.github.com/users/RickyLin/gists{/gist_id}","starred_url":"https://api.github.com/users/RickyLin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RickyLin/subscriptions","organizations_url":"https://api.github.com/users/RickyLin/orgs","repos_url":"https://api.github.com/users/RickyLin/repos","events_url":"https://api.github.com/users/RickyLin/events{/privacy}","received_events_url":"https://api.github.com/users/RickyLin/received_events","type":"User","site_admin":false},"created_at":"2015-01-05T07:17:09Z","updated_at":"2015-01-05T07:17:09Z","body":"@diogopinheiro,\r\nsame solution as what @glad2learn does:\r\nreplace `defaults:a.fn.poshytip.defaults,` with `defaults:(a.fn.poshytip)?a.fn.poshytip.defaults:null,`"}}