{"action":"closed","issue":{"url":"https://api.github.com/repos/yii2mod/yii2-sweet-alert/issues/3","labels_url":"https://api.github.com/repos/yii2mod/yii2-sweet-alert/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/yii2mod/yii2-sweet-alert/issues/3/comments","events_url":"https://api.github.com/repos/yii2mod/yii2-sweet-alert/issues/3/events","html_url":"https://github.com/yii2mod/yii2-sweet-alert/issues/3","id":96415339,"number":3,"title":"Invalid AlertAsset.php","user":{"login":"sganz","id":5179047,"avatar_url":"https://avatars.githubusercontent.com/u/5179047?v=3","gravatar_id":"","url":"https://api.github.com/users/sganz","html_url":"https://github.com/sganz","followers_url":"https://api.github.com/users/sganz/followers","following_url":"https://api.github.com/users/sganz/following{/other_user}","gists_url":"https://api.github.com/users/sganz/gists{/gist_id}","starred_url":"https://api.github.com/users/sganz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sganz/subscriptions","organizations_url":"https://api.github.com/users/sganz/orgs","repos_url":"https://api.github.com/users/sganz/repos","events_url":"https://api.github.com/users/sganz/events{/privacy}","received_events_url":"https://api.github.com/users/sganz/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-21T21:02:21Z","updated_at":"2015-07-22T08:59:51Z","closed_at":"2015-07-22T08:59:51Z","body":"Not sure if something changed, but when installing the component the AlertAsset.php points to files that do not exist, for example the $soucePath is pointing to a '@bower/sweetalert/lib' but the source is actully in '@bower/sweetalert/dist'\r\n\r\nAlso names are not 'sweet-alert', but 'actually sweetalert'\r\n\r\nmodified file -\r\n\r\n```php\r\n<?php\r\n\r\nnamespace yii2mod\\alert;\r\nuse yii\\web\\AssetBundle;\r\n\r\n/**\r\n * Class AlertAsset\r\n * @package yii2mod\\alert\r\n */\r\nclass AlertAsset extends AssetBundle\r\n{\r\n\r\n    /**\r\n     * @var string the directory that contains the source asset files for this asset bundle.\r\n     * A source asset file is a file that is part of your source code repository of your Web application.\r\n     */\r\n    public $sourcePath = '@bower/sweetalert/dist'; /*was lib*/\r\n\r\n    /**\r\n     * @var array list of JavaScript files that this bundle contains. Each JavaScript file can be\r\n     * specified in one of the following formats:\r\n     */\r\n    public $js = [\r\n        'sweetalert.min.js', /* was sweet-alert.min.js */\r\n    ];\r\n\r\n    /**\r\n     * @var array list of CSS files that this bundle contains. Each CSS file can be specified\r\n     * in one of the three formats as explained in [[js]].\r\n     */\r\n    public $css = [\r\n        'sweetalert.css' /* ws sweet-alert.css */\r\n    ];\r\n\r\n}\r\n```"}}