Working skin stuff, minus css
This commit is contained in:
parent
f3b9f8c799
commit
2d0c8ac9ff
9 changed files with 138 additions and 77 deletions
19
src/index.js
19
src/index.js
|
@ -14,10 +14,17 @@ See the License for the specific language governing permissions and
|
|||
limitations under the License.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
var Skinner = require('./Skinner');
|
||||
|
||||
module.exports.loadSkin = function(skinObject) {
|
||||
Skinner.load(skinObject);
|
||||
};
|
||||
|
||||
module.exports.resetSkin = function() {
|
||||
Skinner.reset();
|
||||
};
|
||||
|
||||
module.exports.getComponent = function(componentName) {
|
||||
return Skinner.getComponent(componentName);
|
||||
};
|
||||
|
||||
module.exports.atoms = {};
|
||||
module.exports.molecules = {};
|
||||
module.exports.organisms = {};
|
||||
module.exports.templates = {};
|
||||
module.exports.pages = {};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue