Open
Conversation
added 10 commits
June 11, 2014 16:25
options.data can be a string or a boolean or undefined if options.data is a string, it should represent a path to a folder containing data files (json/yaml) if options.data is set to TRUE, the compiler will look for json/yaml files sharing the template files name at the same level. if options.data is undefined or FALSE, no data file will be processed --- partials and helpers parameters should be strings or array of strings it should be path to folders containing partial files or helper file helper file should contain only the logic and not be wrapped in Handlebars.registerHelper() as the plugin does it for you.
|
This library seems to have gone quite some time without a release, but a rebase against the fork may go a long way to sprucing things up. e.g. sindresorhus#42 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I am back to troubleshooting depreciated gulp-util and it appears in gulp-compile-handlebars@0.6.1.
The warning points to https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5 with instructions to make a pull request here.
These are the instructions from the tutorial:
API replacements:
gutil.File => https://www.npmjs.com/package/vinyl
gutil.replaceExtension => The .extname property on Vinyl objects or https://www.npmjs.com/package/replace-ext
gutil.colors => https://www.npmjs.com/package/ansi-colors
gutil.date => https://www.npmjs.com/package/date-format
gutil.log => https://www.npmjs.com/package/fancy-log
gutil.template => https://www.npmjs.com/package/lodash.template
gutil.env => https://www.npmjs.com/package/minimist
gutil.beep => https://www.npmjs.com/package/beeper
gutil.noop => https://www.npmjs.com/package/through2
gutil.isStream => Use the .isStream() method on Vinyl objects
gutil.isBuffer => Use the .isBuffer() method on Vinyl objects
gutil.isNull => Use the .isNull() method on Vinyl objects
gutil.linefeed => Use the string '\n' in your code
gutil.combine => https://www.npmjs.com/package/multipipe
gutil.buffer => https://www.npmjs.com/package/list-stream
gutil.PluginError => https://www.npmjs.com/package/plugin-error
Can you point to any tutorials about how to proceed from here?