Setting default collator in fractal.js is failing
See original GitHub issueI’m setting the following in fractal.js
fractal.components.set('default.collator', function(markup, item) {
return `${markup}`;
});
I’m still getting the default output around each component with "collated": true
(using config.json):
<!-- Start: @icon--notext -->
<button class="cs-icon cs-icon-notext" type="button">Icon</button>
<!-- End: @icon--notext -->
I’ve restarted the server, ensured I’m on the latest version, and have gotten the component working with a config.js file and setting collated: true
with my own collator method. So I know the collated feature is working, but setting it globally seems to be failing.
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Configuration reference | Fractal
Default collation function, responsible for collating components. fractal.components.set('default.collator', function(markup, item) { return ...
Read more >sitemap-questions-88.xml - Stack Overflow
... .com/questions/311052/setting-css-pseudo-class-rules-from-javascript ... .com/questions/1448600/change-default-prompt-and-output-line-prefix-in-r ...
Read more >npmsearchfullcat_npm143.txt - GitHub
=crzrcn 2013-11-23 0.0.1 23andme genomics node.js API genes synthetic ... line 4chanjs NodeJS and Browser 4chan API client =fractal 2013-12-06 0.1.0 4dlcd ...
Read more >Nieuws | Grundsätzlich IT | information technology
Not all databases allow you to choose your own collation, but Microsoft SQL Server and ... The default settings for the database depend...
Read more >packages by category - Hackage
ADPfusionSet library and test: Dynamic programming for Set data structures. ... elm-build-lib library: Compile Elm code to JS within Haskell ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ha, that makes more sense. Yes - I’ll get a demo repo together.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.