Commit 4a8d5636 authored by Zéfling's avatar Zéfling 🎨
Browse files

Change version

parent 38f084fb
@angular/common
MIT
@angular/core
MIT
@angular/forms
MIT
@angular/platform-browser
MIT
@angular/router
MIT
ngx-lightbox
MIT
MIT License
......@@ -229,21 +244,6 @@ Apache-2.0
@angular/platform-browser
MIT
@angular/common
MIT
@angular/forms
MIT
@angular/router
MIT
@angular/core
MIT
zone.js
MIT
The MIT License
......
......@@ -8,10 +8,10 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="favicon.ico">
<link rel="stylesheet" href="styles.198033073ab9e2969504.css"></head>
<link rel="stylesheet" href="styles.0253abd6d1f8685b92ec.css"></head>
<body>
<app-root></app-root>
<script type="text/javascript" src="runtime.ec2944dd8b20ec099bf3.js"></script><script type="text/javascript" src="polyfills.c6871e56cb80756a5498.js"></script><script type="text/javascript" src="main.c7114e83c07cbbe47d9f.js"></script></body>
<script type="text/javascript" src="runtime.b2cdafc9eb8bc46e47e2.js"></script><script type="text/javascript" src="polyfills.7994d8375dd8da324a64.js"></script><script type="text/javascript" src="scripts.94ccfd4a6bad79bde8b0.js"></script><script type="text/javascript" src="main.e91d1a609ac3a129c4c4.js"></script></body>
</html>
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
This diff is collapsed.
var baku={version:"0.3.0",isString:function(t){return"string"==typeof t||t instanceof String},isArray:function(t){return"object"==typeof t||t instanceof Array},extend:function(t,e){if("object"!=typeof t||t instanceof Array||!e)t=e;else for(var r in e)t[r]=baku.extend(t[r],e[r]);return t},get:function(t,e){var r,n=t[e.shift()];return"object"==typeof n&&0<e.length?r=baku.get(n,e):n&&(r=n),r},lg:function(t,e){var r;return this.lg.lg[t]&&(r=baku.get(this.lg.lg[t],e.split("."))),void 0===r&&(r=baku.get(this.lg.lg[this.lg.default],e.split("."))),r}};baku.lg.lg={},baku.lg.add=function(t,e){this.default||(this.default=t),this.lg[t]=this.lg[t]?baku.extend(this.lg[t],e):e},Math.trunc||(Math.trunc=function(t){return 0>t?Math.ceil(t):Math.floor(t)}),Math._roundDecimal=function(t,e){return Math.round(+(t+"e"+e))/+("1e"+e)},baku.number={formatDefautPattern:"#,###",parse:function(t){if(!baku.isString(t))throw"patten error : is not a string";var e=0,r=0,n=0,a=0;if(!(i=t.match(/\s*(?:((?:[#,]*)(?:[0,]*))(?:(?:\.([0 ]*#*))|))((?:\s*\%)|)\s*$/))||i[0]!==t)throw"patten error: "+t;r=i[1],t=i[2]?i[2].replace(/\s/,"").match(/^(0*)#*/):null;var i=i[3],u=r.match(/,([#]*[0]*)$/);return u&&(e=u[1].length),r=r.match(/[,0]*$/)[0].replace(/,/g,"").length,t&&(n=t[0].length,a=t[1].length),{groupingSize:e,zeroDigitSize:r,decimalSize:n,decimalZeroSize:a,unit:i}}},Number.prototype._formatByPattern=function(t,e){e="object"==typeof e?e:{};var r=baku.number.parse(t||baku.number.formatDefautPattern),n=e.lg||navigator.language;return r.dot=e.dot||baku.lg(n,"number.dot"),r.space=e.space||baku.lg(n,"number.space"),this._format(r)},Number.prototype._format=function(t){var e=this,r=t.lg,n=(t=t||{}).unit||"",a=0|Math.max(0,t.decimalSize),i=Number.isFinite(t.groupingSize)?Math.max(0,t.groupingSize):r?baku.lg(r,"number.groupingSize"):3,u=t.dot||(r?baku.lg(r,"number.dot"):"."),o=(r=t.space||(r?baku.lg(r,"number.space"):""),0|t.zeroDigitSize);return t=0|t.decimalZeroSize,"%"===n.trim()&&(e*=100),e=new String(Math._roundDecimal(e,a)).match(/(-|)(\d*)(?:.(\d*))?/),0<o&&(e[2]=e[2]._padLeft(o,"0")),i=void 0!==r&&i&&0<i?e[2].replace(RegExp("(?=(?:\\d{"+i+"})+$)(?!^)","g"),r):e[2],r="",0<a&&("0"===(r=(e[3]||"0").substring(0,a))&&(r=""),0<t&&(r=r._padRight(t,"0")),""!==r&&(r=(u||".")+r)),e[1]+i+r+n},Number._parse=function(t,e){if(!baku.isString(t))throw"not a string";var r="",n=(e="object"==typeof e?e:{}).lg||navigator.language,a=RegExp._toRegexString(e.dot||baku.lg(n,"number.dot")),i=(n=RegExp._toRegexString(e.space||baku.lg(n,"number.space")),t.match(RegExp("-?(\\d*(("+n+")\\d*)*\\d)(("+a+")(\\d*))?","g")));if(i){if(!i[0])throw"parsing error: "+t;r=+i[0].replace(RegExp(n,"g"),"").replace(RegExp(a),".")}return r},Number.isFinite||(Number.isFinite=function(t){return"number"==typeof t&&isFinite(t)}),Date.prototype._getMonthName=function(t){return baku.lg(t||navigator.language,"monthNames."+this.getMonth())},Date.prototype._getDayName=function(t){return baku.lg(t||navigator.language,"dayNames."+this.getDay())},Date.prototype._getDayOfYear=function(){var t=new Date(this.getFullYear(),0,0);return Math.floor((this-t-36e5*(this.getUTCHours()-t.getUTCHours()))/864e5)},Date.prototype._getWeek=function(t){t="number"==typeof t?t:1;var e=0,r=new Date(this.getFullYear(),0,0),n=new Date(this.getFullYear()+1,0,0),a=(r.getDay()+7+t)%7;return 1===t&&(e=-2),num=Math.ceil((this._getDayOfYear()+a+e)/7)+(4>=a?0:-1),0===num?num=r._getWeek(t):(t=(n._getDayOfYear()+1-(this._getDayOfYear()-this.getDay()))%7,52<num&&0<t&&4>t&&(num=1)),num};var _dateFormatters={yyyy:[/(^|[^\\])yyyy/,function(t){return t.getFullYear()}],yy:[/(^|[^\\])yy/,function(t){return new String(t.getFullYear()).substr(2,2)}],MMMM:[/(^|[^\\])MMMM/,function(t,e){return t._getMonthName(e).replace(/(.)/g,"\\$1")}],MMM:[/(^|[^\\])MMM/,function(t,e){return t._getMonthName(e).substr(0,3).replace(/(.)/g,"\\$1")}],MM:[/(^|[^\\])MM/,function(t){return new String(t.getMonth()+1)._padLeft(2,"0")}],M:[/(^|[^\\])M/,function(t){return t.getMonth()+1}],ww:[/(^|[^\\])ww/,function(t){return new String(t._getWeek())._padLeft(2,"0")}],w:[/(^|[^\\])w/,function(t){return t._getWeek()}],DDD:[/(^|[^\\])DDD/,function(t){return new String(t._getDayOfYear())._padLeft(2,"0")}],D:[/(^|[^\\])D{1,2}/,function(t){return t._getDayOfYear()}],dd:[/(^|[^\\])dd/,function(t){return new String(t.getDate())._padLeft(2,"0")}],d:[/(^|[^\\])d/,function(t){return t.getDate()}],F:[/(^|[^\\])F/,function(t){return t.getDay()}],EEEE:[/(^|[^\\])EEEE/,function(t,e){return t._getDayName(e).replace(/(.)/g,"\\$1")}],EEE:[/(^|[^\\])EEE/,function(t,e){return t._getDayName(e).substr(0,3).replace(/(.)/g,"\\$1")}],E:[/(^|[^\\])E/,function(t,e){return t._getDayName(e).substr(0,1).replace(/(.)/g,"\\$1")}],a:[/(^|[^\\])a/,function(t){return 12<t.getHours()||0===t.getHours()?"PM":"AM"}],HH:[/(^|[^\\])HH/,function(t){return new String(t.getHours())._padLeft(2,"0")}],H:[/(^|[^\\])H/,function(t){return t.getHours()}],kk:[/(^|[^\\])kk/,function(t){return new String(_dateFormatters.k[1](t))._padLeft(2,"0")}],k:[/(^|[^\\])k/,function(t){return 0===t.getHours()?24:t.getHours()}],KK:[/(^|[^\\])KK/,function(t){return new String(t.getHours()%12)._padLeft(2,"0")}],K:[/(^|[^\\])K/,function(t){return t.getHours()%12}],hh:[/(^|[^\\])hh/,function(t){return new String(_dateFormatters.h[1](t))._padLeft(2,"0")}],h:[/(^|[^\\])h/,function(t){return 12<t.getHours()?t.getHours()%12:0===t.getHours()?12:t.getHours()}],mm:[/(^|[^\\])mm/,function(t){return new String(t.getMinutes())._padLeft(2,"0")}],m:[/(^|[^\\])m/,function(t){return t.getMinutes()}],ss:[/(^|[^\\])ss/,function(t){return new String(t.getSeconds())._padLeft(2,"0")}],s:[/(^|[^\\])s/,function(t){return t.getSeconds()}],SSS:[/(^|[^\\])S{3,}/,function(t){return new String(t.getMilliseconds())._padLeft(3,"0")}],S:[/(^|[^\\])S+/,function(t){return new String(t.getMilliseconds())}]};Date.prototype._toStringFormat=function(t,e){var r,n,a=t.replace(/\\\\/g,"[[\\\\]]");for(r in _dateFormatters)(n=_dateFormatters[r])[0].test(a)&&(a=a.replace(n[0],"$1"+n[1](this,e)));return a.replace(/\\(.)/g,"$1").replace(/\[\[\\\]\]/g,"\\")},RegExp._protect=function(t){return new String(t).replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")},RegExp._toRegexString=function(t){if(baku.isArray(t)){for(var e=0,r=t.length;e<r;e++)t[e]=RegExp._protect(t[e]);t=t.join("|")}else t=RegExp._protect(t);return t},baku.string={parsePattern:/^\s*([^,]+)\s*(?:,\s*([^,]+)\s*(?:,\s*(.*)\s*)?)?$/,formatter:{}},baku.string.formatter._parse=function(t,e){for(var r="",n=0,a=0,i=0,u={};-1<(n=t.indexOf("{",n));)0!==n&&"\\"===t[n-1]||(u[n]=1,a++),n++;for(n=0;-1<(n=t.indexOf("}",n));)0!==n&&"\\"===t[n-1]||(u[n]=-1,i++),n++;if(a!==i)throw"pattern error";var o;for(o in i=a=n=0,u){if(1===u[o=parseInt(o)]&&1===u[o]+n)r+=t.substring(i,o),i=o;else if(-1===u[o]&&0===u[o]+n){if(!(i=t.substring(i+1,o)).match(baku.string.parsePattern))throw"pattern error";r+=i.replace(baku.string.parsePattern,e),i=o+1,a++}u[o]+=n,n=u[o]}return r+t.substr(i)},String.prototype._format=function(){var t=arguments;return 0===t.length?"":("array"!=typeof t[0]&&"object"!=typeof t[0]||(t=t[0]),baku.string.formatter._parse(this,function(e,r,n,a){return void 0!==n&&"function"==typeof baku.string.formatter[n]?void 0!==a?baku.string.formatter[n](t[r],t,a):baku.string.formatter[n](t[r],t):t[r]}).replace(/\\([{}])/g,"$1"))},String.prototype._padLeft=function(t,e,r){if(isNaN(parseInt(t))||0>=t||this.length>=t||""===e)return this;switch(void 0===e&&(e=" "),1===e.length&&(r=""),r){case"r":return""._padRight(t,e).substring(0,t-this.length)+this;case"l":return""._padLeft(t,e).substring(0,t-this.length)+this;default:return t-=this.length,r=Math.trunc(t/e.length+1),e.substring(e.length-t%e.length,e.length)+Array(r).join(e||" ")+this}},String.prototype._padRight=function(t,e,r){if(isNaN(parseInt(t))||0>=t||this.length>=t||""===e)return this;switch(void 0===e&&(e=" "),1>=e.length&&(r=""),r){case"l":return this+""._padLeft(t,e).substring(this.length,t);case"r":return this+""._padRight(t,e).substring(this.length,t);default:return r=t-this.length,t=Math.trunc(r/e.length+1),r%=e.length,this+Array(t).join(e)+e.substring(0,r)}},baku.string.formatter.choice=function(t,e,r){var n;t="string"==typeof t?t.trim():t;for(var a=/\s*([-\da-zA-Z]+)\s*(#|[><]=?)\s*((?:\\.|[^|])+)/g;null!==(n=a.exec(r));){var i=n[1],u=n[2];if(n=n[3].replace("\\|","|").trim(),"#"===u&&t==i||"<="===u&&t<=i||"<"===u&&t<i||">="===u&&t>=i||">"===u&&t>i)return n._format(e)}return""},baku.string.formatter.number=function(t,e,r){return void 0===r?r="":"integer"===r?r="#,##0":-1<r.indexOf("{")&&(r=r._format(e)),e={},(r=r.match(/([^:]*)(?::(([a-z]{2})(-[A-Z]{2})?)|)/))&&r[2]&&(e.lg=r[3],e.local=r[2]),Number.isFinite(t)||(t=Number._parse(t)),t._formatByPattern(r[1],e)},baku.string.formatter.date=function(t,e,r){return"undefined"!==r&&-1<r.indexOf("{")&&(r=r._format(e)),t=new Date(t),"undefined"===r||isNaN(t.getTime())?"":t._toStringFormat(r)};
\ No newline at end of file
{
"name": "twitter-archive",
"version": "0.1.0",
"version": "0.4.0",
"scripts": {
"ng": "ng",
"start": "ng serve",
......@@ -47,4 +47,4 @@
"tslint": "~5.11.0",
"typescript": "~3.1.1"
}
}
}
\ No newline at end of file
......@@ -12,7 +12,7 @@ import { AppService } from './app.service';
]
})
export class AppComponent {
version = '0.3.0';
version = '0.4.0';
isInit = false;
......
......@@ -46,7 +46,7 @@ export class Utils {
}
/**
* copy an object (without methods
* copy an object (without methods)
* @param object object to copy
* @returns copied object
*/
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment