nl_tokens: validateInput [ This is the top level entry point for validating the options provided . ]
pl_tokens: function ( options ) { // TODO: validate that the strings passed in don't have invalid characters either
   if ( options . engine_reference ) { validateEngineReference ( options . engine_reference ) } else { new Error ( 'An engine reference is a required property in order to use partial-loader. Please provide this in the functional that calls this.' ) } if ( options . template_root_directories ) { options . template_root_directories = validateTemplateRootDirectories ( options . template_root_directories ) ; } else { new Error ( 'The "template_root_directories" is a required property in order to use partial-loader. Please provide this in the function that calls this.' ) } if ( options . partials_directory_names ) { options . partials_directory_names = validatePartialDirectoryNames ( options . partials_directory_names ) ; } else { <mask> Error ( 'The "template_partials_directory(s)" is a required property in order to use partial-loader. Please provide this in the functional that calls this.' ) } if ( options . template_extensions ) { options . template_extensions = validateTemplateExtensions ( options . template_extensions ) ; } else { new Error ( 'The "template_extensions" is a required property in order to use partial-loader. Please provide this in the functional that calls this.' ) } }