Skip to content

Commit

Permalink
Merge pull request #31 from danielkestler/master
Browse files Browse the repository at this point in the history
Migrate to new core Neos.Fusion components
  • Loading branch information
dimaip authored May 4, 2018
2 parents f88676a + f37d6be commit 0a6e40f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Resources/Private/Fusion/List.fusion
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# This convienince object wraps your list with a title and an archive link
prototype(Flowpack.Listable:List) < prototype(PackageFactory.AtomicFusion:Component) {
prototype(Flowpack.Listable:List) < prototype(Neos.Fusion:Component) {
list = ${value}
# These settings are public API:
wrapClass = ''
Expand Down
2 changes: 1 addition & 1 deletion Resources/Private/Fusion/PaginatedCollection.fusion
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
prototype(Flowpack.Listable:PaginatedCollection) < prototype(PackageFactory.AtomicFusion:Component) {
prototype(Flowpack.Listable:PaginatedCollection) < prototype(Neos.Fusion:Component) {
currentPage = ${request.arguments.currentPage || 1}
##################################
# These settings are public API: #
Expand Down
2 changes: 1 addition & 1 deletion Resources/Private/Fusion/Pagination.fusion
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ prototype(Flowpack.Listable:PaginationArray) {

prototype(Flowpack.Listable:PaginationParameters) < prototype(Neos.Fusion:RawArray)

prototype(Flowpack.Listable:Pagination) < prototype(PackageFactory.AtomicFusion:Component) {
prototype(Flowpack.Listable:Pagination) < prototype(Neos.Fusion:Component) {
totalCount = 'to-be-set'
maximumNumberOfLinks = 15
itemsPerPage = 24
Expand Down
3 changes: 1 addition & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
"description": "Tiny extension for listing things",
"license": "MIT",
"require": {
"neos/neos": "^3.0 || ^4.0 || dev-master",
"packagefactory/atomicfusion": "^2.0"
"neos/neos": "^3.3 || ^4.0 || dev-master"
},
"autoload": {
"psr-4": {
Expand Down

0 comments on commit 0a6e40f

Please sign in to comment.