From 39d61c66b92a9fac1b4e4790923cac40a16155b3 Mon Sep 17 00:00:00 2001 From: hacksalot Date: Wed, 30 Dec 2015 13:22:18 -0500 Subject: [PATCH] Finish Theme --> FreshTheme rename. --- src/core/fresh-theme.js | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/core/fresh-theme.js b/src/core/fresh-theme.js index b9fe152..1d8fdc2 100644 --- a/src/core/fresh-theme.js +++ b/src/core/fresh-theme.js @@ -1,7 +1,7 @@ /** -Definition of the Theme class. -@license MIT. Copyright (c) 2015 hacksalot / FluentDesk. -@module theme.js +Definition of the FRESHTheme class. +@module fresh-theme.js +@license MIT. See LICENSE.md for details. */ (function() { @@ -18,17 +18,17 @@ Definition of the Theme class. , RECURSIVE_READ_DIR = require('recursive-readdir-sync'); /** - The Theme class is a representation of a HackMyResume theme asset. - @class Theme + The FRESHTheme class is a representation of a HackMyResume theme asset. + @class FRESHTheme */ - function Theme() { + function FRESHTheme() { } /** Open and parse the specified theme. */ - Theme.prototype.open = function( themeFolder ) { + FRESHTheme.prototype.open = function( themeFolder ) { this.folder = themeFolder; @@ -83,14 +83,14 @@ Definition of the Theme class. /** Determine if the theme supports the specified output format. */ - Theme.prototype.hasFormat = function( fmt ) { + FRESHTheme.prototype.hasFormat = function( fmt ) { return _.has( this.formats, fmt ); }; /** Determine if the theme supports the specified output format. */ - Theme.prototype.getFormat = function( fmt ) { + FRESHTheme.prototype.getFormat = function( fmt ) { return this.formats[ fmt ]; }; @@ -285,6 +285,6 @@ Definition of the Theme class. return friendly[val] || val; } - module.exports = Theme; + module.exports = FRESHTheme; }());