GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — generator-angular-fullstack/script-base.js at master · connyay/generator-angular-fullstack Expand file tree/ Copy pathscript-base.jsMore file actions 25 lines (20 loc) · 820 Bytes / Copy pathscript-base.jsFile metadata and controls25 lines (20 loc) · 820 Bytes 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 'use strict'; var util = require('util'); var path = require('path'); var yeoman = require('yeoman-generator'); var angularUtils = require('./util.js'); var Generator = module.exports = function Generator() { yeoman.generators.NamedBase.apply(this, arguments); try { this.appname = require(path.join(process.cwd(), 'bower.json')).name; } catch (e) { this.appname = path.basename(process.cwd()); } this.appname = this._.slugify(this._.humanize(this.appname)); this.scriptAppName = this._.camelize(this.appname) + angularUtils.appName(this); this.cameledName = this._.camelize(this.name); this.classedName = this._.classify(this.name); this.filters = this.config.get('filters'); this.sourceRoot(path.join(__dirname, '/templates')); }; util.inherits(Generator, yeoman.generators.NamedBase); |
| You are visitor 01402520 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |