1
0
mirror of https://github.com/JuanCanham/HackMyResume.git synced 2024-11-23 00:40:10 +00:00

Finish Theme --> FreshTheme rename.

This commit is contained in:
hacksalot 2015-12-30 13:22:18 -05:00
parent 7a1eadb3fc
commit 39d61c66b9

View File

@ -1,7 +1,7 @@
/** /**
Definition of the Theme class. Definition of the FRESHTheme class.
@license MIT. Copyright (c) 2015 hacksalot / FluentDesk. @module fresh-theme.js
@module theme.js @license MIT. See LICENSE.md for details.
*/ */
(function() { (function() {
@ -18,17 +18,17 @@ Definition of the Theme class.
, RECURSIVE_READ_DIR = require('recursive-readdir-sync'); , RECURSIVE_READ_DIR = require('recursive-readdir-sync');
/** /**
The Theme class is a representation of a HackMyResume theme asset. The FRESHTheme class is a representation of a HackMyResume theme asset.
@class Theme @class FRESHTheme
*/ */
function Theme() { function FRESHTheme() {
} }
/** /**
Open and parse the specified theme. Open and parse the specified theme.
*/ */
Theme.prototype.open = function( themeFolder ) { FRESHTheme.prototype.open = function( themeFolder ) {
this.folder = themeFolder; this.folder = themeFolder;
@ -83,14 +83,14 @@ Definition of the Theme class.
/** /**
Determine if the theme supports the specified output format. Determine if the theme supports the specified output format.
*/ */
Theme.prototype.hasFormat = function( fmt ) { FRESHTheme.prototype.hasFormat = function( fmt ) {
return _.has( this.formats, fmt ); return _.has( this.formats, fmt );
}; };
/** /**
Determine if the theme supports the specified output format. Determine if the theme supports the specified output format.
*/ */
Theme.prototype.getFormat = function( fmt ) { FRESHTheme.prototype.getFormat = function( fmt ) {
return this.formats[ fmt ]; return this.formats[ fmt ];
}; };
@ -285,6 +285,6 @@ Definition of the Theme class.
return friendly[val] || val; return friendly[val] || val;
} }
module.exports = Theme; module.exports = FRESHTheme;
}()); }());