diff --git a/package.json b/package.json index 76d6c2a..3e64ca7 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "riot-starter", - "version": "0.1.0", - "description": "rapid RiotJS starter kit", + "version": "0.5.0", + "description": "rapid riotjs starter seed", "main": "index.js", "directories": { "doc": "docs", @@ -14,7 +14,7 @@ "riot", "riotjs", "starter", - "rapid", + "seed", "prototype" ], "author": "Geoff Doty", diff --git a/src/public/css/main.css b/src/public/css/main.css index e69de29..2455ce3 100644 --- a/src/public/css/main.css +++ b/src/public/css/main.css @@ -0,0 +1,3 @@ +.header, .footer { + margin: 1.4em 0; +} \ No newline at end of file diff --git a/src/public/css/reset.css b/src/public/css/reset.css deleted file mode 100644 index 83b756d..0000000 --- a/src/public/css/reset.css +++ /dev/null @@ -1 +0,0 @@ -/*! minireset.css v0.0.3 | MIT License | github.com/jgthms/minireset.css */html,body,p,ol,ul,li,dl,dt,dd,blockquote,figure,fieldset,legend,textarea,pre,iframe,hr,h1,h2,h3,h4,h5,h6{margin:0;padding:0}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal}ul{list-style:none}button,input,select,textarea{margin:0}html{box-sizing:border-box}*,*:before,*:after{box-sizing:inherit}img,embed,iframe,object,audio,video{height:auto;max-width:100%}iframe{border:0}table{border-collapse:collapse;border-spacing:0}td,th{padding:0;text-align:left} diff --git a/src/public/index.html b/src/public/index.html index 7d9f9ac..8d0ce53 100644 --- a/src/public/index.html +++ b/src/public/index.html @@ -1,45 +1,57 @@ - - -
- - -Welcome to the RiotJS Boilerplate.
+ +]*|"[^"]*")*)?>([\S\s]+?)<\/pre\s*>/gi,Kt=/^"(?:number|date(?:time)?|time|month|email|color)\b/i,Wt=/^\s*import(?!\w)(?:(?:\s|[^\s'"])*)['|"].*\n?/gm,Jt=/[ \t]+$/gm,Qt=Lt(/@#\d/,"x01"),Xt=Lt(/@#(\d+)/g,"x01"),Yt="#",en="⁗",tn='"',nn="'";function rn(e){var t,n=Vt;for(1!==e.indexOf("\r")&&(e=e.replace(/\r\n?/g,"\n")),n.lastIndex=0;t=n.exec(e);)"<"===t[0][0]&&(e=RegExp.leftContext+RegExp.rightContext,n.lastIndex=t[3]+1);return e}function on(e,t){var n,r,i,o=[];for(Ut.lastIndex=0,e=e.replace(/\s+/g," ");n=Ut.exec(e);){var s=n[1].toLowerCase(),a=n[2];a?(a[0]!==tn&&(a=tn+(a[0]===nn?a.slice(1,-1):a)+tn),"type"===s&&Kt.test(a)?r=a:(Qt.test(a)&&("value"===s&&(i=1),-1!==Dt.indexOf(s)&&(s="riot-"+s)),o.push(s+"="+a))):o.push(s)}return r&&(i&&(r=tn+t._bp[0]+nn+r.slice(1,-1)+nn+t._bp[1]+tn),o.push("type="+r)),o.join(" ")}function sn(e,t,n){var r=n._bp;if(e&&r[4].test(e)){for(var i,o=t.expr&&(t.parser||t.type)?pn:0,s=z.split(e,0,r),a=1;a"+t:"",r&&(t+=" "+on(r,n)),"<"+t+i+">"}),!t.whitespace){var r=[];/ ]/.test(e)&&(e=e.replace(Gt,function(e){return r.push(e),""})),e=e.trim().replace(/\s+/g," "),r.length&&(e=e.replace(/\u0002/g,function(){return r.shift()}))}return t.compact&&(e=e.replace(qt,"><$1")),an(e,n).replace(Jt,"")}var ln=/^[ \t]*(((?:async|\*)\s*)?([$_A-Za-z][$\w]*))\s*\([^()]*\)\s*{/m;function cn(e){var t,n,r,i,o,s,a=[],u=RegExp,l=function(e,t){for(var n,r,i,o,s,a,u=new RegExp(Mt,"g"),l=z.skipRegex,c=0|t,p=[[]],f=[],d=u,h=d.lastIndex=c;a=d.exec(e);){if(o=a.index,s=d.lastIndex,r="",i=a[1]){if("{"===i)f.push("}");else if("}"===i){if(f.pop()!==i)throw new Error("Unexpected '}'");"`"===f[f.length-1]&&(i=f.pop())}else"/"===i&&(s=l(e,o))>o+1&&(r=e.slice(o,s));"`"===i&&(s=$t(e,s,f),r=e.slice(o,s),d=f.length?n||(n=new RegExp(Pt,"g")):u)}else"/"===(r=a[0])[0]?(r="*"===r[1]?" ":"",e=e.slice(c,o)+r+e.slice(s),s=o+r.length,r=""):2===r.length&&(r="");r&&(p[0].push(e.slice(h,o)),p.push(r),h=s),d.lastIndex=s}return p[0].push(e.slice(h)),p}(e);for(e=l.shift().join("<%>");t=e.match(ln);)a.push(u.leftContext),r=c(e=u.rightContext),i=t[1],o=t[2]||"",s=t[3],s=(n=!/^(?:if|while|for|switch|catch|function)$/.test(s))?t[0].replace(i,"this."+s+" ="+o+" function"):t[0],a.push(s,e.slice(0,r)),e=e.slice(r),n&&!/^\s*.\s*bind\b/.test(e)&&a.push(".bind(this)");return a.length&&(e=a.join("")+e),l.length&&(e=e.replace(/<%>/g,function(){return l.shift()})),e;function c(e){for(var t=/[{}]/g,n=1;n&&t.exec(e);)"{"===e[t.lastIndex-1]?++n:--n;return n?e.length:t.lastIndex}}function pn(e,t,n,r,i){return/\S/.test(e)?(n||(n=t.type),(t.parser||n&&It._req("js."+n,!0)||cn)(e,r,i).replace(/\r\n?/g,"\n").replace(Jt,"")):""}var fn=RegExp("([{}]|^)[; ]*((?:[^@ ;{}][^{}]*)?[^@ ;{}:] ?)(?={)|"+zt,"g");function dn(e,t,n,r){var i,o;(r=r||{},n)&&("css"!==n&&(e=It._req("css."+n,!0)(t,e,r.parserOpts||{},r.url)));return e=e.replace(z.R_MLCOMMS,"").replace(/\s+/g," ").trim(),t&&(i=t,o=":scope",e=e.replace(fn,function(e,t,n){return n?(n=n.replace(/[^,]+/g,function(e){var t=e.trim();return 0===t.indexOf(i)?e:t&&"from"!==t&&"to"!==t&&"%"!==t.slice(-1)?t=t.indexOf(o)<0?i+" "+t+',[data-is="'+i+'"] '+t:t.replace(o,i)+","+t.replace(o,'[data-is="'+i+'"]'):e}),t?t+" "+n:n):e})),e}var hn=/\stype\s*=\s*(?:(['"])(.+?)\1|(\S+))/i,mn="\\s*=\\s*("+Ht+"|{[^}]+}|\\S+)",gn=/\/>\n|^<(?:\/?-?[A-Za-z][-\w\xA0-\xFF]*\s*|-?[A-Za-z][-\w\xA0-\xFF]*\s+[-\w:\xA0-\xFF][\S\s]*?)>\n/;function vn(e,t){return e?(e=nn+e.replace(/\\/g,"\\\\").replace(/'/g,"\\'")+nn,t&&-1!==e.indexOf("\n")?e.replace(/\n/g,"\\n"):e):"''"}function xn(e){if(e){var t=e.match(hn);if(t=t&&(t[2]||t[3]))return t.replace("text/","")}return""}function yn(e,t){if(e){var n=e.match(RegExp("\\s"+t+mn,"i"));if(n=n&&n[1])return/^['"]/.test(n)?n.slice(1,-1):n}return""}function bn(e){var t=yn(e,"options").replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,'"').replace(/'/g,"'");return t?JSON.parse(t):null}var wn=RegExp(/^([ \t]*)<(-?[A-Za-z][-\w\xA0-\xFF]*)(?:\s+([^'"/>]+(?:(?:@|\/[^>])[^'"/>]*)*)|\s*)?(?:\/>|>[ \t]*\n?([\S\s]*)^\1<\/\2\s*>|>(.*)<\/\2\s*>)/.source.replace("@",Ht),"gim"),_n=/