diff --git a/bibliophile/index.html b/bibliophile/index.html deleted file mode 100644 index 00e7785..0000000 --- a/bibliophile/index.html +++ /dev/null @@ -1,134 +0,0 @@ - - -Celebrity Bibliophile Name Generator - - - - -
-
- Celebrity Bibliophile
- T: +1.555.555.5555
- E: style@example.com -
-
diff --git a/bibliophile/tracery.min.js b/bibliophile/tracery.min.js deleted file mode 100644 index 7af59c7..0000000 --- a/bibliophile/tracery.min.js +++ /dev/null @@ -1,7 +0,0 @@ -/** - * @license almond 0.3.1 Copyright (c) 2011-2014, The Dojo Foundation All Rights Reserved. - * Available via the MIT or new BSD license. - * see: http://github.com/jrburke/almond for details - */ - -(function(){function i(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}var e,t,n;(function(r){function v(e,t){return h.call(e,t)}function m(e,t){var n,r,i,s,o,u,a,f,c,h,p,v=t&&t.split("/"),m=l.map,g=m&&m["*"]||{};if(e&&e.charAt(0)===".")if(t){e=e.split("/"),o=e.length-1,l.nodeIdCompat&&d.test(e[o])&&(e[o]=e[o].replace(d,"")),e=v.slice(0,v.length-1).concat(e);for(c=0;c0&&(e.splice(c-1,2),c-=2)}}e=e.join("/")}else e.indexOf("./")===0&&(e=e.substring(2));if((v||g)&&m){n=e.split("/");for(c=n.length;c>0;c-=1){r=n.slice(0,c).join("/");if(v)for(h=v.length;h>0;h-=1){i=m[v.slice(0,h).join("/")];if(i){i=i[r];if(i){s=i,u=c;break}}}if(s)break;!a&&g&&g[r]&&(a=g[r],f=c)}!s&&a&&(s=a,u=f),s&&(n.splice(0,u,s),e=n.join("/"))}return e}function g(e,t){return function(){var n=p.call(arguments,0);return typeof n[0]!="string"&&n.length===1&&n.push(null),s.apply(r,n.concat([e,t]))}}function y(e){return function(t){return m(t,e)}}function b(e){return function(t){a[e]=t}}function w(e){if(v(f,e)){var t=f[e];delete f[e],c[e]=!0,i.apply(r,t)}if(!v(a,e)&&!v(c,e))throw new Error("No "+e);return a[e]}function E(e){var t,n=e?e.indexOf("!"):-1;return n>-1&&(t=e.substring(0,n),e=e.substring(n+1,e.length)),[t,e]}function S(e){return function(){return l&&l.config&&l.config[e]||{}}}var i,s,o,u,a={},f={},l={},c={},h=Object.prototype.hasOwnProperty,p=[].slice,d=/\.js$/;o=function(e,t){var n,r=E(e),i=r[0];return e=r[1],i&&(i=m(i,t),n=w(i)),i?n&&n.normalize?e=n.normalize(e,y(t)):e=m(e,t):(e=m(e,t),r=E(e),i=r[0],e=r[1],i&&(n=w(i))),{f:i?i+"!"+e:e,n:e,pr:i,p:n}},u={require:function(e){return g(e)},exports:function(e){var t=a[e];return typeof t!="undefined"?t:a[e]={}},module:function(e){return{id:e,uri:"",exports:a[e],config:S(e)}}},i=function(e,t,n,i){var s,l,h,p,d,m=[],y=typeof n,E;i=i||e;if(y==="undefined"||y==="function"){t=!t.length&&n.length?["require","exports","module"]:t;for(d=0;d0){var d="Too many '[' in rule "+e(rule);tracery.addError(d);return}if(s<0){var d="Too many ']' in rule "+e(rule);tracery.addError(d);return}return{preActions:r,postActions:i,symbol:a,mods:f,raw:n}}function r(t){function u(e){var i=t.substring(s,e);i.length>0&&(o?r.push(n(i)):r.push(i)),o=!o,s=e+1}var r=[];if(typeof t=="string"||t instanceof String){if(t.length===0)return[];var i=0,s=0,o=!1;for(var a=0;a0){var l="Too many '[' in rule "+e(t);tracery.addError(l),console.warn(l);return}if(i<0){var l="Too many ']' in rule "+e(t);tracery.addError(l),console.warn(l);return}if(o){var l="Odd number of '#' in rule "+e(t);tracery.addError(l),console.warn(l);return}return u(t.length),r}tracery.addError("Cannot parse non-string rule "+t);return}function i(t){console.log("Test: "+e(t));var n=r(t);n?console.log("SUCCESS:",n):console.log("FAILED:",n)}function s(t){console.log("Test: "+e(t));var r=n(t);r?console.log("SUCCESS:",r):console.log("FAILED:",r)}function o(e){var t="";for(var n=0;n0&&(r=t.substring(n,t.length),t=t.substring(0,n));var i=t.charAt(t.length-1);switch(i){case"y":return e(t.charAt(t.length-2))?t.slice(0,t.length-1)+"ied"+r:t+"ed"+r;case"e":return t+"d"+r;default:return t+"ed"+r}}};return n}),n("action",[],function(){var e=function(e,t){this.node=e,this.grammar=e.grammar,this.raw=t};return e.prototype.activate=function(){var t=this.node;t.actions.push(this),this.amended=this.grammar.flatten(this.raw);var n=tracery.parseTag(this.amended),r=n.preActions;r&&r.length>0&&(this.subactions=r.map(function(n){return new e(t,n)}));if(n.symbol){var i=n.symbol.split(":");if(i.length!==2)throw"Unknown action: "+n.symbol;this.push={symbol:i[0],rules:i[1].split(",")},t.grammar.pushRules(this.push.symbol,this.push.rules)}if(this.subactions)for(var s=0;st&&n<20)e=this.getRandomIndex(),n++;return e},n.prototype.decayUses=function(e){this.totalUses=0;for(var t=0;t0&&(e+=","),n++,e+=" "+this.symbols[i].toJSON(),e+="\n")}return e+="\n}",e},i.prototype.select=function(){this.isSelected=!0},i.prototype.deselect=function(){this.isSelected=!1},i.prototype.mapSymbols=function(e){var t=this.symbols;return this.symbolNames.map(function(n){return e(t[n],n)})},i.prototype.applyToSymbols=function(e){for(var t=0;t