{"action":"created","issue":{"url":"https://api.github.com/repos/Awnage/AngularZF1/issues/1","repository_url":"https://api.github.com/repos/Awnage/AngularZF1","labels_url":"https://api.github.com/repos/Awnage/AngularZF1/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/Awnage/AngularZF1/issues/1/comments","events_url":"https://api.github.com/repos/Awnage/AngularZF1/issues/1/events","html_url":"https://github.com/Awnage/AngularZF1/issues/1","id":172024441,"number":1,"title":".base doesn't work when setting resources.Angular.base in application config","user":{"login":"Cahdek","id":14277339,"avatar_url":"https://avatars.githubusercontent.com/u/14277339?v=3","gravatar_id":"","url":"https://api.github.com/users/Cahdek","html_url":"https://github.com/Cahdek","followers_url":"https://api.github.com/users/Cahdek/followers","following_url":"https://api.github.com/users/Cahdek/following{/other_user}","gists_url":"https://api.github.com/users/Cahdek/gists{/gist_id}","starred_url":"https://api.github.com/users/Cahdek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cahdek/subscriptions","organizations_url":"https://api.github.com/users/Cahdek/orgs","repos_url":"https://api.github.com/users/Cahdek/repos","events_url":"https://api.github.com/users/Cahdek/events{/privacy}","received_events_url":"https://api.github.com/users/Cahdek/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-18T23:33:20Z","updated_at":"2016-08-18T23:35:12Z","closed_at":null,"body":"Documentation says to set .base in application config. Since this is a fork of the ZendX_Jquery_Component, the correct value should be resources.Angular.localpath OR change the switch statement to look for base instead of localpath\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Awnage/AngularZF1/issues/comments/240888400","html_url":"https://github.com/Awnage/AngularZF1/issues/1#issuecomment-240888400","issue_url":"https://api.github.com/repos/Awnage/AngularZF1/issues/1","id":240888400,"user":{"login":"Cahdek","id":14277339,"avatar_url":"https://avatars.githubusercontent.com/u/14277339?v=3","gravatar_id":"","url":"https://api.github.com/users/Cahdek","html_url":"https://github.com/Cahdek","followers_url":"https://api.github.com/users/Cahdek/followers","following_url":"https://api.github.com/users/Cahdek/following{/other_user}","gists_url":"https://api.github.com/users/Cahdek/gists{/gist_id}","starred_url":"https://api.github.com/users/Cahdek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cahdek/subscriptions","organizations_url":"https://api.github.com/users/Cahdek/orgs","repos_url":"https://api.github.com/users/Cahdek/repos","events_url":"https://api.github.com/users/Cahdek/events{/privacy}","received_events_url":"https://api.github.com/users/Cahdek/received_events","type":"User","site_admin":false},"created_at":"2016-08-18T23:35:12Z","updated_at":"2016-08-18T23:35:12Z","body":"Additionally, setting localpath isn't being parsed correctly.\r\n\r\nSetting resources.Angular.localpath = \"/js/angular\", you get a script tag as \r\n<script src=\"/js/angular\"></script>\r\n\r\nAdditional plugins are loading correctly, but the base angular is not.\r\n\r\nFixed this by changing:\r\nprotected function _getAngularLibraryPath()\r\n    {\r\n        if($this->_angularLibraryPath != null) {\r\n            $source = $this->_angularLibraryPath;\r\n\r\nto \r\n\r\nprotected function _getAngularLibraryPath ()\r\n    {\r\n        if ($this->_angularLibraryPath != null) {\r\n            $source = $this->_angularLibraryPath .\r\n                     ($this->_minified == true ? AngularZF1_Angular::CDN_ANGULAR_MIN_PATH_GOOGLE : AngularZF1_Angular::CDN_ANGULAR_PATH_GOOGLE);\r\n        \r\nin Angular/View/Helper/Angular/Container.php\r\n"}}
{"actor":{"display_login":"Cahdek"}}