Skip to content
This repository has been archived by the owner on Aug 7, 2024. It is now read-only.

Commit

Permalink
Merge branch 'release/1.0.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
khalwat committed Dec 12, 2017
2 parents ab0d575 + d5c5900 commit f0d6fea
Show file tree
Hide file tree
Showing 7 changed files with 34 additions and 161 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

All notable changes to this project will be documented in this file.

## 1.0.1 - 2017.12.06
### Changed
* Updated to require craftcms/cms `^3.0.0-RC1`
* Switched to `Craft::$app->view->registerTwigExtension` to register the Twig extension

## 1.0.0 - 2017-09-30
### Added
- Initial release
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

Allows you to eager load elements from auto-injected Entry elements on demand from your templates.

![Screenshot](resources/img/beaver.png)
![Screenshot](resources/img/plugin-logo.png)

Related: [Eager Beaver for Craft 2.6.x](https://github.com/nystudio107/eagerbeaver)

## Requirements

This plugin requires Craft CMS 3.0.0-beta.23 or later.
This plugin requires Craft CMS 3.0.0-RC1 or later.

## Installation

Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "nystudio107/craft3-eagerbeaver",
"description": "Allows you to eager load elements from auto-injected Entry elements on demand from your templates.",
"type": "craft-plugin",
"version": "1.0.0",
"version": "1.0.1",
"keywords": [
"craft",
"cms",
Expand All @@ -25,7 +25,7 @@
}
],
"require": {
"craftcms/cms": "~3.0.0-beta.23"
"craftcms/cms": "^3.0.0-RC1"
},
"repositories": [
{
Expand Down
Binary file removed resources/img/beaver.png
Binary file not shown.
Binary file added resources/img/plugin-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/EagerBeaver.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public function init()
self::$plugin = $this;

// Add in our Twig extensions
Craft::$app->view->twig->addExtension(new EagerBeaverTwigExtension());
Craft::$app->view->registerTwigExtension(new EagerBeaverTwigExtension());

// Register our variables
Event::on(
Expand Down
180 changes: 24 additions & 156 deletions src/icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit f0d6fea

Please sign in to comment.