Skip to content
This repository has been archived by the owner on Nov 15, 2021. It is now read-only.

update to instafeed.js 2 #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion InstafeedAsset.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/
class InstafeedAsset extends AssetBundle
{
public $sourcePath = '@bower/instafeed.js';
public $sourcePath = '@bower/instafeed.js/dist';
public $css = [
];
public $js = [ // Configured conditionally (source/minified) during init()
Expand Down
8 changes: 7 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@
"issues": "https://github.com/nirvana-msu/yii2-instafeed/issues",
"source": "https://github.com/nirvana-msu/yii2-instafeed"
},
"repositories": [
{
"type": "composer",
"url": "https://asset-packagist.org"
}
],
"authors": [
{
"name": "Alexander Stepanov",
Expand All @@ -23,7 +29,7 @@
],
"require": {
"yiisoft/yii2": "*",
"bower-asset/instafeed.js": "*"
"bower-asset/instafeed.js": "^2"
},
"autoload": {
"psr-4": {
Expand Down