Skip to content

Commit

Permalink
Outdated namespace in requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
marc-firebrand committed May 17, 2018
1 parent 634bee9 commit 2208563
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"repository": {
"type": "git",
"url": "ssh://git@gitlab.firebrand.nz/firebrand/silverstripe-hail.git"
"url": "https://github.com/firebrandhq/silverstripe-hail-elemental"
},
"keywords": [
"silverstripe",
Expand Down
10 changes: 5 additions & 5 deletions src/Elements/HailCarouselElement.php
Original file line number Diff line number Diff line change
Expand Up @@ -123,14 +123,14 @@ public function getCMSFields()

public function forTemplate($holder = true)
{
Requirements::css('firebrand/silverstripe-hail-elemental: client/dist/styles/hail-carousel.bundle.css');
Requirements::css('firebrandhq/silverstripe-hail-elemental: client/dist/styles/hail-carousel.bundle.css');

//Require jquery and bootstrap from Hail module to avoid double inclusion and to be able to globally disable this requirements for all hail modules
Requirements::css('firebrand/silverstripe-hail: thirdparty/bootstrap/styles/bootstrap.min.css');
Requirements::javascript('firebrand/silverstripe-hail: thirdparty/jquery/js/jquery.min.js');
Requirements::javascript('firebrand/silverstripe-hail: thirdparty/bootstrap/js/bootstrap.bundle.min.js');
Requirements::css('firebrandhq/silverstripe-hail: thirdparty/bootstrap/styles/bootstrap.min.css');
Requirements::javascript('firebrandhq/silverstripe-hail: thirdparty/jquery/js/jquery.min.js');
Requirements::javascript('firebrandhq/silverstripe-hail: thirdparty/bootstrap/js/bootstrap.bundle.min.js');

Requirements::javascript('firebrand/silverstripe-hail-elemental: client/dist/js/hail-carousel.bundle.js');
Requirements::javascript('firebrandhq/silverstripe-hail-elemental: client/dist/js/hail-carousel.bundle.js');

return parent::forTemplate($holder);
}
Expand Down

0 comments on commit 2208563

Please sign in to comment.