Prepare release

This commit is contained in:
benweet 2014-01-13 18:57:59 +00:00
parent 498ec93a8c
commit d3ad7384b8
34 changed files with 637 additions and 10035 deletions

View File

@ -1,5 +1,5 @@
CACHE MANIFEST CACHE MANIFEST
#Date Fri Jan 03 2014 00:24:45 #Date Mon Jan 13 2014 18:56:01
CACHE: CACHE:
res/worker.js res/worker.js
@ -11,6 +11,18 @@ libs/MathJax/images/MenuArrow-15.png
libs/MathJax/jax/output/HTML-CSS/jax.js libs/MathJax/jax/output/HTML-CSS/jax.js
#DynamicResourcesBegin #DynamicResourcesBegin
res-min/font/OpenSans-Bold-webfont.svg
res-min/font/OpenSans-Bold-webfont.woff
res-min/font/OpenSans-BoldItalic-webfont.svg
res-min/font/OpenSans-BoldItalic-webfont.woff
res-min/font/OpenSans-Italic-webfont.svg
res-min/font/OpenSans-Italic-webfont.woff
res-min/font/OpenSans-Light-webfont.svg
res-min/font/OpenSans-Light-webfont.woff
res-min/font/OpenSans-LightItalic-webfont.svg
res-min/font/OpenSans-LightItalic-webfont.woff
res-min/font/OpenSans-Regular-webfont.svg
res-min/font/OpenSans-Regular-webfont.woff
res-min/font/cursive_standard-webfont.eot res-min/font/cursive_standard-webfont.eot
res-min/font/cursive_standard-webfont.svg res-min/font/cursive_standard-webfont.svg
res-min/font/cursive_standard-webfont.ttf res-min/font/cursive_standard-webfont.ttf
@ -19,18 +31,6 @@ res-min/font/fontello.eot
res-min/font/fontello.svg res-min/font/fontello.svg
res-min/font/fontello.ttf res-min/font/fontello.ttf
res-min/font/fontello.woff res-min/font/fontello.woff
res-min/font/opensans-bold-webfont.svg
res-min/font/opensans-bold-webfont.woff
res-min/font/opensans-bolditalic-webfont.svg
res-min/font/opensans-bolditalic-webfont.woff
res-min/font/opensans-italic-webfont.svg
res-min/font/opensans-italic-webfont.woff
res-min/font/opensans-light-webfont.svg
res-min/font/opensans-light-webfont.woff
res-min/font/opensans-lightitalic-webfont.svg
res-min/font/opensans-lightitalic-webfont.woff
res-min/font/opensans-regular-webfont.svg
res-min/font/opensans-regular-webfont.woff
res-min/img/gittip.png res-min/img/gittip.png
res-min/img/icons.png res-min/img/icons.png
res-min/img/icons2x.png res-min/img/icons2x.png

File diff suppressed because it is too large Load Diff

Before

Width:  |  Height:  |  Size: 114 KiB

After

Width:  |  Height:  |  Size: 56 KiB

File diff suppressed because it is too large Load Diff

Before

Width:  |  Height:  |  Size: 117 KiB

After

Width:  |  Height:  |  Size: 59 KiB

File diff suppressed because it is too large Load Diff

Before

Width:  |  Height:  |  Size: 119 KiB

After

Width:  |  Height:  |  Size: 60 KiB

File diff suppressed because it is too large Load Diff

Before

Width:  |  Height:  |  Size: 113 KiB

After

Width:  |  Height:  |  Size: 55 KiB

File diff suppressed because it is too large Load Diff

Before

Width:  |  Height:  |  Size: 118 KiB

After

Width:  |  Height:  |  Size: 61 KiB

File diff suppressed because it is too large Load Diff

Before

Width:  |  Height:  |  Size: 115 KiB

After

Width:  |  Height:  |  Size: 57 KiB

File diff suppressed because it is too large Load Diff

View File

@ -95,7 +95,7 @@ q:before,q:after,blockquote:before,blockquote:after{content:""}
address{display:block;margin-bottom:20px;font-style:normal;line-height:1.428571429} address{display:block;margin-bottom:20px;font-style:normal;line-height:1.428571429}
code,pre{font-family:Monaco,Menlo,Consolas,"Courier New",monospace} code,pre{font-family:Monaco,Menlo,Consolas,"Courier New",monospace}
code{padding:2px 4px;font-size:90%;color:#000;background-color:rgba(0,0,0,0.04);white-space:nowrap;border-radius:4px} code{padding:2px 4px;font-size:90%;color:#000;background-color:rgba(0,0,0,0.04);white-space:nowrap;border-radius:4px}
pre{display:block;padding:9.5px;margin:0 0 10px;font-size:13px;line-height:1.428571429;word-break:break-all;word-wrap:break-word;color:#333;background-color:#f5f5f5;border:1px solid #ccc;border-radius:4px}pre.prettyprint{margin-bottom:20px} pre{display:block;padding:9.5px;margin:0 0 10px;font-size:13px;line-height:1.428571429;word-break:break-all;word-wrap:break-word;color:#333;background-color:#f8f8f8;border:1px solid #eee;border-radius:4px}pre.prettyprint{margin-bottom:20px}
pre code{padding:0;font-size:inherit;color:inherit;white-space:pre-wrap;background-color:transparent;border:0} pre code{padding:0;font-size:inherit;color:inherit;white-space:pre-wrap;background-color:transparent;border:0}
.pre-scrollable{max-height:340px;overflow-y:scroll} .pre-scrollable{max-height:340px;overflow-y:scroll}
.container{margin-right:auto;margin-left:auto;padding-left:15px;padding-right:15px}.container:before,.container:after{content:" ";display:table;} .container{margin-right:auto;margin-left:auto;padding-left:15px;padding-right:15px}.container:before,.container:after{content:" ";display:table;}
@ -1167,7 +1167,7 @@ pre .coffeescript .javascript,pre .javascript .xml,pre .lasso .markup,pre .tex .
.icon-code:before{content:'\e844'} .icon-code:before{content:'\e844'}
.icon-folder-open:before{content:'\e81e'} .icon-folder-open:before{content:'\e81e'}
.icon-left-big:before{content:'\e88a'} .icon-left-big:before{content:'\e88a'}
@font-face{font-family:'Open Sans';font-style:normal;font-weight:300;src:local('Open Sans Light'),local('OpenSans-Light'),url("../font/opensans-light-webfont.woff") format('woff')}@font-face{font-family:'Open Sans';font-style:normal;font-weight:400;src:local('Open Sans'),local('OpenSans'),url("../font/opensans-regular-webfont.woff") format('woff')}@font-face{font-family:'Open Sans';font-style:normal;font-weight:700;src:local('Open Sans Bold'),local('OpenSans-Bold'),url("../font/opensans-bold-webfont.woff") format('woff')}@font-face{font-family:'Open Sans';font-style:italic;font-weight:300;src:local('Open Sans Light Italic'),local('OpenSansLight-Italic'),url("../font/opensans-lightitalic-webfont.woff") format('woff')}@font-face{font-family:'Open Sans';font-style:italic;font-weight:400;src:local('Open Sans Italic'),local('OpenSans-Italic'),url("../font/opensans-italic-webfont.woff") format('woff')}@font-face{font-family:'Open Sans';font-style:italic;font-weight:700;src:local('Open Sans Bold Italic'),local('OpenSans-BoldItalic'),url("../font/opensans-bolditalic-webfont.woff") format('woff')}@media screen and (-webkit-min-device-pixel-ratio:0){@font-face{font-family:'Open Sans';font-style:normal;font-weight:300;src:local('Open Sans Light'),local('OpenSans-Light'),url('../font/opensans-light-webfont.svg') format('svg')}}@media screen and (-webkit-min-device-pixel-ratio:0){@font-face{font-family:'Open Sans';font-style:normal;font-weight:400;src:local('Open Sans'),local('OpenSans'),url('../font/opensans-regular-webfont.svg') format('svg')}}@media screen and (-webkit-min-device-pixel-ratio:0){@font-face{font-family:'Open Sans';font-style:normal;font-weight:700;src:local('Open Sans Bold'),local('OpenSans-Bold'),url('../font/opensans-bold-webfont.svg') format('svg')}}@media screen and (-webkit-min-device-pixel-ratio:0){@font-face{font-family:'Open Sans';font-style:italic;font-weight:300;src:local('Open Sans Light Italic'),local('OpenSansLight-Italic'),url('../font/opensans-lightitalic-webfont.svg') format('svg')}}@media screen and (-webkit-min-device-pixel-ratio:0){@font-face{font-family:'Open Sans';font-style:italic;font-weight:400;src:local('Open Sans Italic'),local('OpenSans-Italic'),url('../font/opensans-italic-webfont.svg') format('svg')}}@media screen and (-webkit-min-device-pixel-ratio:0){@font-face{font-family:'Open Sans';font-style:italic;font-weight:700;src:local('Open Sans Bold Italic'),local('OpenSans-BoldItalic'),url('../font/opensans-bolditalic-webfont.svg') format('svg')}}body{-webkit-font-smoothing:antialiased} @font-face{font-family:'Open Sans';font-style:normal;font-weight:300;src:local('Open Sans Light'),local('OpenSans-Light'),url("../font/OpenSans-Light-webfont.woff") format('woff')}@font-face{font-family:'Open Sans';font-style:normal;font-weight:400;src:local('Open Sans'),local('OpenSans'),url("../font/OpenSans-Regular-webfont.woff") format('woff')}@font-face{font-family:'Open Sans';font-style:normal;font-weight:700;src:local('Open Sans Bold'),local('OpenSans-Bold'),url("../font/OpenSans-Bold-webfont.woff") format('woff')}@font-face{font-family:'Open Sans';font-style:italic;font-weight:300;src:local('Open Sans Light Italic'),local('OpenSansLight-Italic'),url("../font/OpenSans-LightItalic-webfont.woff") format('woff')}@font-face{font-family:'Open Sans';font-style:italic;font-weight:400;src:local('Open Sans Italic'),local('OpenSans-Italic'),url("../font/OpenSans-Italic-webfont.woff") format('woff')}@font-face{font-family:'Open Sans';font-style:italic;font-weight:700;src:local('Open Sans Bold Italic'),local('OpenSans-BoldItalic'),url("../font/OpenSans-BoldItalic-webfont.woff") format('woff')}@media screen and (-webkit-min-device-pixel-ratio:0){@font-face{font-family:'Open Sans';font-style:normal;font-weight:300;src:local('Open Sans Light'),local('OpenSans-Light'),url('../font/OpenSans-Light-webfont.svg') format('svg')}}@media screen and (-webkit-min-device-pixel-ratio:0){@font-face{font-family:'Open Sans';font-style:normal;font-weight:400;src:local('Open Sans'),local('OpenSans'),url('../font/OpenSans-Regular-webfont.svg') format('svg')}}@media screen and (-webkit-min-device-pixel-ratio:0){@font-face{font-family:'Open Sans';font-style:normal;font-weight:700;src:local('Open Sans Bold'),local('OpenSans-Bold'),url('../font/OpenSans-Bold-webfont.svg') format('svg')}}@media screen and (-webkit-min-device-pixel-ratio:0){@font-face{font-family:'Open Sans';font-style:italic;font-weight:300;src:local('Open Sans Light Italic'),local('OpenSansLight-Italic'),url('../font/OpenSans-LightItalic-webfont.svg') format('svg')}}@media screen and (-webkit-min-device-pixel-ratio:0){@font-face{font-family:'Open Sans';font-style:italic;font-weight:400;src:local('Open Sans Italic'),local('OpenSans-Italic'),url('../font/OpenSans-Italic-webfont.svg') format('svg')}}@media screen and (-webkit-min-device-pixel-ratio:0){@font-face{font-family:'Open Sans';font-style:italic;font-weight:700;src:local('Open Sans Bold Italic'),local('OpenSans-BoldItalic'),url('../font/OpenSans-BoldItalic-webfont.svg') format('svg')}}body{-webkit-font-smoothing:antialiased}
.container{margin-bottom:180px} .container{margin-bottom:180px}
a code{color:inherit} a code{color:inherit}
h1{font-size:36px} h1{font-size:36px}
@ -1183,7 +1183,7 @@ h4,h5,h6{margin:25px 0 15px}
p,pre,blockquote{margin:0 0 15px} p,pre,blockquote{margin:0 0 15px}
hr{margin:30px 0} hr{margin:30px 0}
code,pre{font-family:Menlo,Consolas,"Courier New",monospace;font-size:12px !important} code,pre{font-family:Menlo,Consolas,"Courier New",monospace;font-size:12px !important}
pre{padding:9.5px !important;border:1px solid #ccc !important}pre code{background-color:transparent !important} pre{border-width:0 !important;border-left:10px solid #eee !important;border-radius:0;border-top-right-radius:5px;border-bottom-right-radius:5px;padding:10px 15px !important}pre code{background-color:transparent !important}
dt,dd{margin-top:5px;margin-bottom:5px} dt,dd{margin-top:5px;margin-bottom:5px}
dd{margin-left:40px} dd{margin-left:40px}
table{margin-bottom:20px} table{margin-bottom:20px}

View File

@ -95,7 +95,7 @@ q:before,q:after,blockquote:before,blockquote:after{content:""}
address{display:block;margin-bottom:20px;font-style:normal;line-height:1.428571429} address{display:block;margin-bottom:20px;font-style:normal;line-height:1.428571429}
code,pre{font-family:Monaco,Menlo,Consolas,"Courier New",monospace} code,pre{font-family:Monaco,Menlo,Consolas,"Courier New",monospace}
code{padding:2px 4px;font-size:90%;color:#162029;background-color:rgba(102,128,153,0.075);white-space:nowrap;border-radius:4px} code{padding:2px 4px;font-size:90%;color:#162029;background-color:rgba(102,128,153,0.075);white-space:nowrap;border-radius:4px}
pre{display:block;padding:9.5px;margin:0 0 10px;font-size:13px;line-height:1.428571429;word-break:break-all;word-wrap:break-word;color:#333;background-color:rgba(102,128,153,0.075);border:1px solid #dee6ed;border-radius:4px}pre.prettyprint{margin-bottom:20px} pre{display:block;padding:9.5px;margin:0 0 10px;font-size:13px;line-height:1.428571429;word-break:break-all;word-wrap:break-word;color:#333;background-color:rgba(102,128,153,0.05);border:1px solid rgba(102,128,153,0.075);border-radius:4px}pre.prettyprint{margin-bottom:20px}
pre code{padding:0;font-size:inherit;color:inherit;white-space:pre-wrap;background-color:transparent;border:0} pre code{padding:0;font-size:inherit;color:inherit;white-space:pre-wrap;background-color:transparent;border:0}
.pre-scrollable{max-height:340px;overflow-y:scroll} .pre-scrollable{max-height:340px;overflow-y:scroll}
.container{margin-right:auto;margin-left:auto;padding-left:15px;padding-right:15px}.container:before,.container:after{content:" ";display:table;} .container{margin-right:auto;margin-left:auto;padding-left:15px;padding-right:15px}.container:before,.container:after{content:" ";display:table;}
@ -1182,7 +1182,7 @@ pre .coffeescript .javascript,pre .javascript .xml,pre .lasso .markup,pre .tex .
.icon-code:before{content:'\e844'} .icon-code:before{content:'\e844'}
.icon-folder-open:before{content:'\e81e'} .icon-folder-open:before{content:'\e81e'}
.icon-left-big:before{content:'\e88a'} .icon-left-big:before{content:'\e88a'}
@font-face{font-family:'Open Sans';font-style:normal;font-weight:300;src:local('Open Sans Light'),local('OpenSans-Light'),url("../font/opensans-light-webfont.woff") format('woff')}@font-face{font-family:'Open Sans';font-style:normal;font-weight:400;src:local('Open Sans'),local('OpenSans'),url("../font/opensans-regular-webfont.woff") format('woff')}@font-face{font-family:'Open Sans';font-style:normal;font-weight:700;src:local('Open Sans Bold'),local('OpenSans-Bold'),url("../font/opensans-bold-webfont.woff") format('woff')}@font-face{font-family:'Open Sans';font-style:italic;font-weight:300;src:local('Open Sans Light Italic'),local('OpenSansLight-Italic'),url("../font/opensans-lightitalic-webfont.woff") format('woff')}@font-face{font-family:'Open Sans';font-style:italic;font-weight:400;src:local('Open Sans Italic'),local('OpenSans-Italic'),url("../font/opensans-italic-webfont.woff") format('woff')}@font-face{font-family:'Open Sans';font-style:italic;font-weight:700;src:local('Open Sans Bold Italic'),local('OpenSans-BoldItalic'),url("../font/opensans-bolditalic-webfont.woff") format('woff')}@media screen and (-webkit-min-device-pixel-ratio:0){@font-face{font-family:'Open Sans';font-style:normal;font-weight:300;src:local('Open Sans Light'),local('OpenSans-Light'),url('../font/opensans-light-webfont.svg') format('svg')}}@media screen and (-webkit-min-device-pixel-ratio:0){@font-face{font-family:'Open Sans';font-style:normal;font-weight:400;src:local('Open Sans'),local('OpenSans'),url('../font/opensans-regular-webfont.svg') format('svg')}}@media screen and (-webkit-min-device-pixel-ratio:0){@font-face{font-family:'Open Sans';font-style:normal;font-weight:700;src:local('Open Sans Bold'),local('OpenSans-Bold'),url('../font/opensans-bold-webfont.svg') format('svg')}}@media screen and (-webkit-min-device-pixel-ratio:0){@font-face{font-family:'Open Sans';font-style:italic;font-weight:300;src:local('Open Sans Light Italic'),local('OpenSansLight-Italic'),url('../font/opensans-lightitalic-webfont.svg') format('svg')}}@media screen and (-webkit-min-device-pixel-ratio:0){@font-face{font-family:'Open Sans';font-style:italic;font-weight:400;src:local('Open Sans Italic'),local('OpenSans-Italic'),url('../font/opensans-italic-webfont.svg') format('svg')}}@media screen and (-webkit-min-device-pixel-ratio:0){@font-face{font-family:'Open Sans';font-style:italic;font-weight:700;src:local('Open Sans Bold Italic'),local('OpenSans-BoldItalic'),url('../font/opensans-bolditalic-webfont.svg') format('svg')}}body{-webkit-font-smoothing:antialiased} @font-face{font-family:'Open Sans';font-style:normal;font-weight:300;src:local('Open Sans Light'),local('OpenSans-Light'),url("../font/OpenSans-Light-webfont.woff") format('woff')}@font-face{font-family:'Open Sans';font-style:normal;font-weight:400;src:local('Open Sans'),local('OpenSans'),url("../font/OpenSans-Regular-webfont.woff") format('woff')}@font-face{font-family:'Open Sans';font-style:normal;font-weight:700;src:local('Open Sans Bold'),local('OpenSans-Bold'),url("../font/OpenSans-Bold-webfont.woff") format('woff')}@font-face{font-family:'Open Sans';font-style:italic;font-weight:300;src:local('Open Sans Light Italic'),local('OpenSansLight-Italic'),url("../font/OpenSans-LightItalic-webfont.woff") format('woff')}@font-face{font-family:'Open Sans';font-style:italic;font-weight:400;src:local('Open Sans Italic'),local('OpenSans-Italic'),url("../font/OpenSans-Italic-webfont.woff") format('woff')}@font-face{font-family:'Open Sans';font-style:italic;font-weight:700;src:local('Open Sans Bold Italic'),local('OpenSans-BoldItalic'),url("../font/OpenSans-BoldItalic-webfont.woff") format('woff')}@media screen and (-webkit-min-device-pixel-ratio:0){@font-face{font-family:'Open Sans';font-style:normal;font-weight:300;src:local('Open Sans Light'),local('OpenSans-Light'),url('../font/OpenSans-Light-webfont.svg') format('svg')}}@media screen and (-webkit-min-device-pixel-ratio:0){@font-face{font-family:'Open Sans';font-style:normal;font-weight:400;src:local('Open Sans'),local('OpenSans'),url('../font/OpenSans-Regular-webfont.svg') format('svg')}}@media screen and (-webkit-min-device-pixel-ratio:0){@font-face{font-family:'Open Sans';font-style:normal;font-weight:700;src:local('Open Sans Bold'),local('OpenSans-Bold'),url('../font/OpenSans-Bold-webfont.svg') format('svg')}}@media screen and (-webkit-min-device-pixel-ratio:0){@font-face{font-family:'Open Sans';font-style:italic;font-weight:300;src:local('Open Sans Light Italic'),local('OpenSansLight-Italic'),url('../font/OpenSans-LightItalic-webfont.svg') format('svg')}}@media screen and (-webkit-min-device-pixel-ratio:0){@font-face{font-family:'Open Sans';font-style:italic;font-weight:400;src:local('Open Sans Italic'),local('OpenSans-Italic'),url('../font/OpenSans-Italic-webfont.svg') format('svg')}}@media screen and (-webkit-min-device-pixel-ratio:0){@font-face{font-family:'Open Sans';font-style:italic;font-weight:700;src:local('Open Sans Bold Italic'),local('OpenSans-BoldItalic'),url('../font/OpenSans-BoldItalic-webfont.svg') format('svg')}}body{-webkit-font-smoothing:antialiased}
.container{margin-bottom:180px} .container{margin-bottom:180px}
a code{color:inherit} a code{color:inherit}
h1{font-size:36px} h1{font-size:36px}
@ -1198,7 +1198,7 @@ h4,h5,h6{margin:25px 0 15px}
p,pre,blockquote{margin:0 0 15px} p,pre,blockquote{margin:0 0 15px}
hr{margin:30px 0} hr{margin:30px 0}
code,pre{font-family:Menlo,Consolas,"Courier New",monospace;font-size:12px !important} code,pre{font-family:Menlo,Consolas,"Courier New",monospace;font-size:12px !important}
pre{padding:9.5px !important;border:1px solid #dee6ed !important}pre code{background-color:transparent !important} pre{border-width:0 !important;border-left:10px solid rgba(102,128,153,0.075) !important;border-radius:0;border-top-right-radius:5px;border-bottom-right-radius:5px;padding:10px 15px !important}pre code{background-color:transparent !important}
dt,dd{margin-top:5px;margin-bottom:5px} dt,dd{margin-top:5px;margin-bottom:5px}
dd{margin-left:40px} dd{margin-left:40px}
table{margin-bottom:20px} table{margin-bottom:20px}

View File

@ -95,7 +95,7 @@ q:before,q:after,blockquote:before,blockquote:after{content:""}
address{display:block;margin-bottom:20px;font-style:normal;line-height:1.428571429} address{display:block;margin-bottom:20px;font-style:normal;line-height:1.428571429}
code,pre{font-family:Monaco,Menlo,Consolas,"Courier New",monospace} code,pre{font-family:Monaco,Menlo,Consolas,"Courier New",monospace}
code{padding:2px 4px;font-size:90%;color:#202020;background-color:rgba(128,128,128,0.075);white-space:nowrap;border-radius:4px} code{padding:2px 4px;font-size:90%;color:#202020;background-color:rgba(128,128,128,0.075);white-space:nowrap;border-radius:4px}
pre{display:block;padding:9.5px;margin:0 0 10px;font-size:13px;line-height:1.428571429;word-break:break-all;word-wrap:break-word;color:#333;background-color:rgba(128,128,128,0.075);border:1px solid #e6e6e6;border-radius:4px}pre.prettyprint{margin-bottom:20px} pre{display:block;padding:9.5px;margin:0 0 10px;font-size:13px;line-height:1.428571429;word-break:break-all;word-wrap:break-word;color:#333;background-color:rgba(128,128,128,0.05);border:1px solid rgba(128,128,128,0.075);border-radius:4px}pre.prettyprint{margin-bottom:20px}
pre code{padding:0;font-size:inherit;color:inherit;white-space:pre-wrap;background-color:transparent;border:0} pre code{padding:0;font-size:inherit;color:inherit;white-space:pre-wrap;background-color:transparent;border:0}
.pre-scrollable{max-height:340px;overflow-y:scroll} .pre-scrollable{max-height:340px;overflow-y:scroll}
.container{margin-right:auto;margin-left:auto;padding-left:15px;padding-right:15px}.container:before,.container:after{content:" ";display:table;} .container{margin-right:auto;margin-left:auto;padding-left:15px;padding-right:15px}.container:before,.container:after{content:" ";display:table;}
@ -1182,7 +1182,7 @@ pre .coffeescript .javascript,pre .javascript .xml,pre .lasso .markup,pre .tex .
.icon-code:before{content:'\e844'} .icon-code:before{content:'\e844'}
.icon-folder-open:before{content:'\e81e'} .icon-folder-open:before{content:'\e81e'}
.icon-left-big:before{content:'\e88a'} .icon-left-big:before{content:'\e88a'}
@font-face{font-family:'Open Sans';font-style:normal;font-weight:300;src:local('Open Sans Light'),local('OpenSans-Light'),url("../font/opensans-light-webfont.woff") format('woff')}@font-face{font-family:'Open Sans';font-style:normal;font-weight:400;src:local('Open Sans'),local('OpenSans'),url("../font/opensans-regular-webfont.woff") format('woff')}@font-face{font-family:'Open Sans';font-style:normal;font-weight:700;src:local('Open Sans Bold'),local('OpenSans-Bold'),url("../font/opensans-bold-webfont.woff") format('woff')}@font-face{font-family:'Open Sans';font-style:italic;font-weight:300;src:local('Open Sans Light Italic'),local('OpenSansLight-Italic'),url("../font/opensans-lightitalic-webfont.woff") format('woff')}@font-face{font-family:'Open Sans';font-style:italic;font-weight:400;src:local('Open Sans Italic'),local('OpenSans-Italic'),url("../font/opensans-italic-webfont.woff") format('woff')}@font-face{font-family:'Open Sans';font-style:italic;font-weight:700;src:local('Open Sans Bold Italic'),local('OpenSans-BoldItalic'),url("../font/opensans-bolditalic-webfont.woff") format('woff')}@media screen and (-webkit-min-device-pixel-ratio:0){@font-face{font-family:'Open Sans';font-style:normal;font-weight:300;src:local('Open Sans Light'),local('OpenSans-Light'),url('../font/opensans-light-webfont.svg') format('svg')}}@media screen and (-webkit-min-device-pixel-ratio:0){@font-face{font-family:'Open Sans';font-style:normal;font-weight:400;src:local('Open Sans'),local('OpenSans'),url('../font/opensans-regular-webfont.svg') format('svg')}}@media screen and (-webkit-min-device-pixel-ratio:0){@font-face{font-family:'Open Sans';font-style:normal;font-weight:700;src:local('Open Sans Bold'),local('OpenSans-Bold'),url('../font/opensans-bold-webfont.svg') format('svg')}}@media screen and (-webkit-min-device-pixel-ratio:0){@font-face{font-family:'Open Sans';font-style:italic;font-weight:300;src:local('Open Sans Light Italic'),local('OpenSansLight-Italic'),url('../font/opensans-lightitalic-webfont.svg') format('svg')}}@media screen and (-webkit-min-device-pixel-ratio:0){@font-face{font-family:'Open Sans';font-style:italic;font-weight:400;src:local('Open Sans Italic'),local('OpenSans-Italic'),url('../font/opensans-italic-webfont.svg') format('svg')}}@media screen and (-webkit-min-device-pixel-ratio:0){@font-face{font-family:'Open Sans';font-style:italic;font-weight:700;src:local('Open Sans Bold Italic'),local('OpenSans-BoldItalic'),url('../font/opensans-bolditalic-webfont.svg') format('svg')}}body{-webkit-font-smoothing:antialiased} @font-face{font-family:'Open Sans';font-style:normal;font-weight:300;src:local('Open Sans Light'),local('OpenSans-Light'),url("../font/OpenSans-Light-webfont.woff") format('woff')}@font-face{font-family:'Open Sans';font-style:normal;font-weight:400;src:local('Open Sans'),local('OpenSans'),url("../font/OpenSans-Regular-webfont.woff") format('woff')}@font-face{font-family:'Open Sans';font-style:normal;font-weight:700;src:local('Open Sans Bold'),local('OpenSans-Bold'),url("../font/OpenSans-Bold-webfont.woff") format('woff')}@font-face{font-family:'Open Sans';font-style:italic;font-weight:300;src:local('Open Sans Light Italic'),local('OpenSansLight-Italic'),url("../font/OpenSans-LightItalic-webfont.woff") format('woff')}@font-face{font-family:'Open Sans';font-style:italic;font-weight:400;src:local('Open Sans Italic'),local('OpenSans-Italic'),url("../font/OpenSans-Italic-webfont.woff") format('woff')}@font-face{font-family:'Open Sans';font-style:italic;font-weight:700;src:local('Open Sans Bold Italic'),local('OpenSans-BoldItalic'),url("../font/OpenSans-BoldItalic-webfont.woff") format('woff')}@media screen and (-webkit-min-device-pixel-ratio:0){@font-face{font-family:'Open Sans';font-style:normal;font-weight:300;src:local('Open Sans Light'),local('OpenSans-Light'),url('../font/OpenSans-Light-webfont.svg') format('svg')}}@media screen and (-webkit-min-device-pixel-ratio:0){@font-face{font-family:'Open Sans';font-style:normal;font-weight:400;src:local('Open Sans'),local('OpenSans'),url('../font/OpenSans-Regular-webfont.svg') format('svg')}}@media screen and (-webkit-min-device-pixel-ratio:0){@font-face{font-family:'Open Sans';font-style:normal;font-weight:700;src:local('Open Sans Bold'),local('OpenSans-Bold'),url('../font/OpenSans-Bold-webfont.svg') format('svg')}}@media screen and (-webkit-min-device-pixel-ratio:0){@font-face{font-family:'Open Sans';font-style:italic;font-weight:300;src:local('Open Sans Light Italic'),local('OpenSansLight-Italic'),url('../font/OpenSans-LightItalic-webfont.svg') format('svg')}}@media screen and (-webkit-min-device-pixel-ratio:0){@font-face{font-family:'Open Sans';font-style:italic;font-weight:400;src:local('Open Sans Italic'),local('OpenSans-Italic'),url('../font/OpenSans-Italic-webfont.svg') format('svg')}}@media screen and (-webkit-min-device-pixel-ratio:0){@font-face{font-family:'Open Sans';font-style:italic;font-weight:700;src:local('Open Sans Bold Italic'),local('OpenSans-BoldItalic'),url('../font/OpenSans-BoldItalic-webfont.svg') format('svg')}}body{-webkit-font-smoothing:antialiased}
.container{margin-bottom:180px} .container{margin-bottom:180px}
a code{color:inherit} a code{color:inherit}
h1{font-size:36px} h1{font-size:36px}
@ -1198,7 +1198,7 @@ h4,h5,h6{margin:25px 0 15px}
p,pre,blockquote{margin:0 0 15px} p,pre,blockquote{margin:0 0 15px}
hr{margin:30px 0} hr{margin:30px 0}
code,pre{font-family:Menlo,Consolas,"Courier New",monospace;font-size:12px !important} code,pre{font-family:Menlo,Consolas,"Courier New",monospace;font-size:12px !important}
pre{padding:9.5px !important;border:1px solid #e6e6e6 !important}pre code{background-color:transparent !important} pre{border-width:0 !important;border-left:10px solid rgba(128,128,128,0.075) !important;border-radius:0;border-top-right-radius:5px;border-bottom-right-radius:5px;padding:10px 15px !important}pre code{background-color:transparent !important}
dt,dd{margin-top:5px;margin-bottom:5px} dt,dd{margin-top:5px;margin-bottom:5px}
dd{margin-left:40px} dd{margin-left:40px}
table{margin-bottom:20px} table{margin-bottom:20px}

View File

@ -95,7 +95,7 @@ q:before,q:after,blockquote:before,blockquote:after{content:""}
address{display:block;margin-bottom:20px;font-style:normal;line-height:1.428571429} address{display:block;margin-bottom:20px;font-style:normal;line-height:1.428571429}
code,pre{font-family:Monaco,Menlo,Consolas,"Courier New",monospace} code,pre{font-family:Monaco,Menlo,Consolas,"Courier New",monospace}
code{padding:2px 4px;font-size:90%;color:#9f9f9f;background-color:rgba(255,255,255,0.1);white-space:nowrap;border-radius:4px} code{padding:2px 4px;font-size:90%;color:#9f9f9f;background-color:rgba(255,255,255,0.1);white-space:nowrap;border-radius:4px}
pre{display:block;padding:9.5px;margin:0 0 10px;font-size:13px;line-height:1.428571429;word-break:break-all;word-wrap:break-word;color:#333;background-color:#bbb;border:1px solid #4d4d4d;border-radius:4px}pre.prettyprint{margin-bottom:20px} pre{display:block;padding:9.5px;margin:0 0 10px;font-size:13px;line-height:1.428571429;word-break:break-all;word-wrap:break-word;color:#333;background-color:#bbb;border:1px solid #6e6e6e;border-radius:4px}pre.prettyprint{margin-bottom:20px}
pre code{padding:0;font-size:inherit;color:inherit;white-space:pre-wrap;background-color:transparent;border:0} pre code{padding:0;font-size:inherit;color:inherit;white-space:pre-wrap;background-color:transparent;border:0}
.pre-scrollable{max-height:340px;overflow-y:scroll} .pre-scrollable{max-height:340px;overflow-y:scroll}
.container{margin-right:auto;margin-left:auto;padding-left:15px;padding-right:15px}.container:before,.container:after{content:" ";display:table;} .container{margin-right:auto;margin-left:auto;padding-left:15px;padding-right:15px}.container:before,.container:after{content:" ";display:table;}
@ -1182,7 +1182,7 @@ pre .coffeescript .javascript,pre .javascript .xml,pre .lasso .markup,pre .tex .
.icon-code:before{content:'\e844'} .icon-code:before{content:'\e844'}
.icon-folder-open:before{content:'\e81e'} .icon-folder-open:before{content:'\e81e'}
.icon-left-big:before{content:'\e88a'} .icon-left-big:before{content:'\e88a'}
@font-face{font-family:'Open Sans';font-style:normal;font-weight:300;src:local('Open Sans Light'),local('OpenSans-Light'),url("../font/opensans-light-webfont.woff") format('woff')}@font-face{font-family:'Open Sans';font-style:normal;font-weight:400;src:local('Open Sans'),local('OpenSans'),url("../font/opensans-regular-webfont.woff") format('woff')}@font-face{font-family:'Open Sans';font-style:normal;font-weight:700;src:local('Open Sans Bold'),local('OpenSans-Bold'),url("../font/opensans-bold-webfont.woff") format('woff')}@font-face{font-family:'Open Sans';font-style:italic;font-weight:300;src:local('Open Sans Light Italic'),local('OpenSansLight-Italic'),url("../font/opensans-lightitalic-webfont.woff") format('woff')}@font-face{font-family:'Open Sans';font-style:italic;font-weight:400;src:local('Open Sans Italic'),local('OpenSans-Italic'),url("../font/opensans-italic-webfont.woff") format('woff')}@font-face{font-family:'Open Sans';font-style:italic;font-weight:700;src:local('Open Sans Bold Italic'),local('OpenSans-BoldItalic'),url("../font/opensans-bolditalic-webfont.woff") format('woff')}@media screen and (-webkit-min-device-pixel-ratio:0){@font-face{font-family:'Open Sans';font-style:normal;font-weight:300;src:local('Open Sans Light'),local('OpenSans-Light'),url('../font/opensans-light-webfont.svg') format('svg')}}@media screen and (-webkit-min-device-pixel-ratio:0){@font-face{font-family:'Open Sans';font-style:normal;font-weight:400;src:local('Open Sans'),local('OpenSans'),url('../font/opensans-regular-webfont.svg') format('svg')}}@media screen and (-webkit-min-device-pixel-ratio:0){@font-face{font-family:'Open Sans';font-style:normal;font-weight:700;src:local('Open Sans Bold'),local('OpenSans-Bold'),url('../font/opensans-bold-webfont.svg') format('svg')}}@media screen and (-webkit-min-device-pixel-ratio:0){@font-face{font-family:'Open Sans';font-style:italic;font-weight:300;src:local('Open Sans Light Italic'),local('OpenSansLight-Italic'),url('../font/opensans-lightitalic-webfont.svg') format('svg')}}@media screen and (-webkit-min-device-pixel-ratio:0){@font-face{font-family:'Open Sans';font-style:italic;font-weight:400;src:local('Open Sans Italic'),local('OpenSans-Italic'),url('../font/opensans-italic-webfont.svg') format('svg')}}@media screen and (-webkit-min-device-pixel-ratio:0){@font-face{font-family:'Open Sans';font-style:italic;font-weight:700;src:local('Open Sans Bold Italic'),local('OpenSans-BoldItalic'),url('../font/opensans-bolditalic-webfont.svg') format('svg')}}body{-webkit-font-smoothing:antialiased} @font-face{font-family:'Open Sans';font-style:normal;font-weight:300;src:local('Open Sans Light'),local('OpenSans-Light'),url("../font/OpenSans-Light-webfont.woff") format('woff')}@font-face{font-family:'Open Sans';font-style:normal;font-weight:400;src:local('Open Sans'),local('OpenSans'),url("../font/OpenSans-Regular-webfont.woff") format('woff')}@font-face{font-family:'Open Sans';font-style:normal;font-weight:700;src:local('Open Sans Bold'),local('OpenSans-Bold'),url("../font/OpenSans-Bold-webfont.woff") format('woff')}@font-face{font-family:'Open Sans';font-style:italic;font-weight:300;src:local('Open Sans Light Italic'),local('OpenSansLight-Italic'),url("../font/OpenSans-LightItalic-webfont.woff") format('woff')}@font-face{font-family:'Open Sans';font-style:italic;font-weight:400;src:local('Open Sans Italic'),local('OpenSans-Italic'),url("../font/OpenSans-Italic-webfont.woff") format('woff')}@font-face{font-family:'Open Sans';font-style:italic;font-weight:700;src:local('Open Sans Bold Italic'),local('OpenSans-BoldItalic'),url("../font/OpenSans-BoldItalic-webfont.woff") format('woff')}@media screen and (-webkit-min-device-pixel-ratio:0){@font-face{font-family:'Open Sans';font-style:normal;font-weight:300;src:local('Open Sans Light'),local('OpenSans-Light'),url('../font/OpenSans-Light-webfont.svg') format('svg')}}@media screen and (-webkit-min-device-pixel-ratio:0){@font-face{font-family:'Open Sans';font-style:normal;font-weight:400;src:local('Open Sans'),local('OpenSans'),url('../font/OpenSans-Regular-webfont.svg') format('svg')}}@media screen and (-webkit-min-device-pixel-ratio:0){@font-face{font-family:'Open Sans';font-style:normal;font-weight:700;src:local('Open Sans Bold'),local('OpenSans-Bold'),url('../font/OpenSans-Bold-webfont.svg') format('svg')}}@media screen and (-webkit-min-device-pixel-ratio:0){@font-face{font-family:'Open Sans';font-style:italic;font-weight:300;src:local('Open Sans Light Italic'),local('OpenSansLight-Italic'),url('../font/OpenSans-LightItalic-webfont.svg') format('svg')}}@media screen and (-webkit-min-device-pixel-ratio:0){@font-face{font-family:'Open Sans';font-style:italic;font-weight:400;src:local('Open Sans Italic'),local('OpenSans-Italic'),url('../font/OpenSans-Italic-webfont.svg') format('svg')}}@media screen and (-webkit-min-device-pixel-ratio:0){@font-face{font-family:'Open Sans';font-style:italic;font-weight:700;src:local('Open Sans Bold Italic'),local('OpenSans-BoldItalic'),url('../font/OpenSans-BoldItalic-webfont.svg') format('svg')}}body{-webkit-font-smoothing:antialiased}
.container{margin-bottom:180px} .container{margin-bottom:180px}
a code{color:inherit} a code{color:inherit}
h1{font-size:36px} h1{font-size:36px}
@ -1198,7 +1198,7 @@ h4,h5,h6{margin:25px 0 15px}
p,pre,blockquote{margin:0 0 15px} p,pre,blockquote{margin:0 0 15px}
hr{margin:30px 0} hr{margin:30px 0}
code,pre{font-family:Menlo,Consolas,"Courier New",monospace;font-size:12px !important} code,pre{font-family:Menlo,Consolas,"Courier New",monospace;font-size:12px !important}
pre{padding:9.5px !important;border:1px solid #4d4d4d !important}pre code{background-color:transparent !important} pre{border-width:0 !important;border-left:10px solid #6e6e6e !important;border-radius:0;border-top-right-radius:5px;border-bottom-right-radius:5px;padding:10px 15px !important}pre code{background-color:transparent !important}
dt,dd{margin-top:5px;margin-bottom:5px} dt,dd{margin-top:5px;margin-bottom:5px}
dd{margin-left:40px} dd{margin-left:40px}
table{margin-bottom:20px} table{margin-bottom:20px}

View File

@ -95,7 +95,7 @@ q:before,q:after,blockquote:before,blockquote:after{content:""}
address{display:block;margin-bottom:20px;font-style:normal;line-height:1.428571429} address{display:block;margin-bottom:20px;font-style:normal;line-height:1.428571429}
code,pre{font-family:Monaco,Menlo,Consolas,"Courier New",monospace} code,pre{font-family:Monaco,Menlo,Consolas,"Courier New",monospace}
code{padding:2px 4px;font-size:90%;color:#112130;background-color:rgba(143,134,104,0.075);white-space:nowrap;border-radius:4px} code{padding:2px 4px;font-size:90%;color:#112130;background-color:rgba(143,134,104,0.075);white-space:nowrap;border-radius:4px}
pre{display:block;padding:9.5px;margin:0 0 10px;font-size:13px;line-height:1.428571429;word-break:break-all;word-wrap:break-word;color:#333;background-color:rgba(143,134,104,0.075);border:1px solid #dfdfdf;border-radius:4px}pre.prettyprint{margin-bottom:20px} pre{display:block;padding:9.5px;margin:0 0 10px;font-size:13px;line-height:1.428571429;word-break:break-all;word-wrap:break-word;color:#333;background-color:rgba(143,134,104,0.05);border:1px solid rgba(143,134,104,0.075);border-radius:4px}pre.prettyprint{margin-bottom:20px}
pre code{padding:0;font-size:inherit;color:inherit;white-space:pre-wrap;background-color:transparent;border:0} pre code{padding:0;font-size:inherit;color:inherit;white-space:pre-wrap;background-color:transparent;border:0}
.pre-scrollable{max-height:340px;overflow-y:scroll} .pre-scrollable{max-height:340px;overflow-y:scroll}
.container{margin-right:auto;margin-left:auto;padding-left:15px;padding-right:15px}.container:before,.container:after{content:" ";display:table;} .container{margin-right:auto;margin-left:auto;padding-left:15px;padding-right:15px}.container:before,.container:after{content:" ";display:table;}
@ -1182,7 +1182,7 @@ pre .coffeescript .javascript,pre .javascript .xml,pre .lasso .markup,pre .tex .
.icon-code:before{content:'\e844'} .icon-code:before{content:'\e844'}
.icon-folder-open:before{content:'\e81e'} .icon-folder-open:before{content:'\e81e'}
.icon-left-big:before{content:'\e88a'} .icon-left-big:before{content:'\e88a'}
@font-face{font-family:'Open Sans';font-style:normal;font-weight:300;src:local('Open Sans Light'),local('OpenSans-Light'),url("../font/opensans-light-webfont.woff") format('woff')}@font-face{font-family:'Open Sans';font-style:normal;font-weight:400;src:local('Open Sans'),local('OpenSans'),url("../font/opensans-regular-webfont.woff") format('woff')}@font-face{font-family:'Open Sans';font-style:normal;font-weight:700;src:local('Open Sans Bold'),local('OpenSans-Bold'),url("../font/opensans-bold-webfont.woff") format('woff')}@font-face{font-family:'Open Sans';font-style:italic;font-weight:300;src:local('Open Sans Light Italic'),local('OpenSansLight-Italic'),url("../font/opensans-lightitalic-webfont.woff") format('woff')}@font-face{font-family:'Open Sans';font-style:italic;font-weight:400;src:local('Open Sans Italic'),local('OpenSans-Italic'),url("../font/opensans-italic-webfont.woff") format('woff')}@font-face{font-family:'Open Sans';font-style:italic;font-weight:700;src:local('Open Sans Bold Italic'),local('OpenSans-BoldItalic'),url("../font/opensans-bolditalic-webfont.woff") format('woff')}@media screen and (-webkit-min-device-pixel-ratio:0){@font-face{font-family:'Open Sans';font-style:normal;font-weight:300;src:local('Open Sans Light'),local('OpenSans-Light'),url('../font/opensans-light-webfont.svg') format('svg')}}@media screen and (-webkit-min-device-pixel-ratio:0){@font-face{font-family:'Open Sans';font-style:normal;font-weight:400;src:local('Open Sans'),local('OpenSans'),url('../font/opensans-regular-webfont.svg') format('svg')}}@media screen and (-webkit-min-device-pixel-ratio:0){@font-face{font-family:'Open Sans';font-style:normal;font-weight:700;src:local('Open Sans Bold'),local('OpenSans-Bold'),url('../font/opensans-bold-webfont.svg') format('svg')}}@media screen and (-webkit-min-device-pixel-ratio:0){@font-face{font-family:'Open Sans';font-style:italic;font-weight:300;src:local('Open Sans Light Italic'),local('OpenSansLight-Italic'),url('../font/opensans-lightitalic-webfont.svg') format('svg')}}@media screen and (-webkit-min-device-pixel-ratio:0){@font-face{font-family:'Open Sans';font-style:italic;font-weight:400;src:local('Open Sans Italic'),local('OpenSans-Italic'),url('../font/opensans-italic-webfont.svg') format('svg')}}@media screen and (-webkit-min-device-pixel-ratio:0){@font-face{font-family:'Open Sans';font-style:italic;font-weight:700;src:local('Open Sans Bold Italic'),local('OpenSans-BoldItalic'),url('../font/opensans-bolditalic-webfont.svg') format('svg')}}body{-webkit-font-smoothing:antialiased} @font-face{font-family:'Open Sans';font-style:normal;font-weight:300;src:local('Open Sans Light'),local('OpenSans-Light'),url("../font/OpenSans-Light-webfont.woff") format('woff')}@font-face{font-family:'Open Sans';font-style:normal;font-weight:400;src:local('Open Sans'),local('OpenSans'),url("../font/OpenSans-Regular-webfont.woff") format('woff')}@font-face{font-family:'Open Sans';font-style:normal;font-weight:700;src:local('Open Sans Bold'),local('OpenSans-Bold'),url("../font/OpenSans-Bold-webfont.woff") format('woff')}@font-face{font-family:'Open Sans';font-style:italic;font-weight:300;src:local('Open Sans Light Italic'),local('OpenSansLight-Italic'),url("../font/OpenSans-LightItalic-webfont.woff") format('woff')}@font-face{font-family:'Open Sans';font-style:italic;font-weight:400;src:local('Open Sans Italic'),local('OpenSans-Italic'),url("../font/OpenSans-Italic-webfont.woff") format('woff')}@font-face{font-family:'Open Sans';font-style:italic;font-weight:700;src:local('Open Sans Bold Italic'),local('OpenSans-BoldItalic'),url("../font/OpenSans-BoldItalic-webfont.woff") format('woff')}@media screen and (-webkit-min-device-pixel-ratio:0){@font-face{font-family:'Open Sans';font-style:normal;font-weight:300;src:local('Open Sans Light'),local('OpenSans-Light'),url('../font/OpenSans-Light-webfont.svg') format('svg')}}@media screen and (-webkit-min-device-pixel-ratio:0){@font-face{font-family:'Open Sans';font-style:normal;font-weight:400;src:local('Open Sans'),local('OpenSans'),url('../font/OpenSans-Regular-webfont.svg') format('svg')}}@media screen and (-webkit-min-device-pixel-ratio:0){@font-face{font-family:'Open Sans';font-style:normal;font-weight:700;src:local('Open Sans Bold'),local('OpenSans-Bold'),url('../font/OpenSans-Bold-webfont.svg') format('svg')}}@media screen and (-webkit-min-device-pixel-ratio:0){@font-face{font-family:'Open Sans';font-style:italic;font-weight:300;src:local('Open Sans Light Italic'),local('OpenSansLight-Italic'),url('../font/OpenSans-LightItalic-webfont.svg') format('svg')}}@media screen and (-webkit-min-device-pixel-ratio:0){@font-face{font-family:'Open Sans';font-style:italic;font-weight:400;src:local('Open Sans Italic'),local('OpenSans-Italic'),url('../font/OpenSans-Italic-webfont.svg') format('svg')}}@media screen and (-webkit-min-device-pixel-ratio:0){@font-face{font-family:'Open Sans';font-style:italic;font-weight:700;src:local('Open Sans Bold Italic'),local('OpenSans-BoldItalic'),url('../font/OpenSans-BoldItalic-webfont.svg') format('svg')}}body{-webkit-font-smoothing:antialiased}
.container{margin-bottom:180px} .container{margin-bottom:180px}
a code{color:inherit} a code{color:inherit}
h1{font-size:36px} h1{font-size:36px}
@ -1198,7 +1198,7 @@ h4,h5,h6{margin:25px 0 15px}
p,pre,blockquote{margin:0 0 15px} p,pre,blockquote{margin:0 0 15px}
hr{margin:30px 0} hr{margin:30px 0}
code,pre{font-family:Menlo,Consolas,"Courier New",monospace;font-size:12px !important} code,pre{font-family:Menlo,Consolas,"Courier New",monospace;font-size:12px !important}
pre{padding:9.5px !important;border:1px solid #dfdfdf !important}pre code{background-color:transparent !important} pre{border-width:0 !important;border-left:10px solid rgba(143,134,104,0.075) !important;border-radius:0;border-top-right-radius:5px;border-bottom-right-radius:5px;padding:10px 15px !important}pre code{background-color:transparent !important}
dt,dd{margin-top:5px;margin-bottom:5px} dt,dd{margin-top:5px;margin-bottom:5px}
dd{margin-left:40px} dd{margin-left:40px}
table{margin-bottom:20px} table{margin-bottom:20px}

View File

@ -659,16 +659,6 @@ define([
$("#wmd-redo-button").append($('<i class="icon-forward">')).appendTo($btnGroupElt); $("#wmd-redo-button").append($('<i class="icon-forward">')).appendTo($btnGroupElt);
}; };
// Shows a dialog to force the user to click a button before opening oauth popup
var redirectCallbackConfirm;
var redirectCallbackCancel;
core.redirectConfirm = function(message, callbackConfirm, callbackCancel) {
redirectCallbackConfirm = callbackConfirm;
redirectCallbackCancel = callbackCancel;
$('.modal-redirect-confirm .redirect-msg').html(message);
$('.modal-redirect-confirm').modal("show");
};
// Initialize multiple things and then fire eventMgr.onReady // Initialize multiple things and then fire eventMgr.onReady
var isDocumentPanelShown = false; var isDocumentPanelShown = false;
var isMenuPanelShown = false; var isMenuPanelShown = false;
@ -686,6 +676,9 @@ define([
$rightBtnDropdown = $navbarElt.find('.right-buttons-dropdown'); $rightBtnDropdown = $navbarElt.find('.right-buttons-dropdown');
$(window).bind("resize", adjustWindow); $(window).bind("resize", adjustWindow);
// Initialize utils library
utils.init();
// Populate shortcuts in settings // Populate shortcuts in settings
shortcutMgr.addSettingEntries(); shortcutMgr.addSettingEntries();
@ -1031,16 +1024,6 @@ define([
show: false show: false
}); });
$('.action-redirect-confirm').click(function() {
redirectCallbackCancel = undefined;
redirectCallbackConfirm();
});
$('.modal-redirect-confirm').on('hidden.bs.modal', function() {
_.defer(function() {
redirectCallbackCancel && redirectCallbackCancel();
});
});
// Load images // Load images
_.each(document.querySelectorAll('img'), function(imgElt) { _.each(document.querySelectorAll('img'), function(imgElt) {
var $imgElt = $(imgElt); var $imgElt = $(imgElt);

View File

@ -135,6 +135,7 @@ define([
storage.removeItem(fileDesc.fileIndex + ".editorEnd"); storage.removeItem(fileDesc.fileIndex + ".editorEnd");
storage.removeItem(fileDesc.fileIndex + ".editorScrollTop"); storage.removeItem(fileDesc.fileIndex + ".editorScrollTop");
storage.removeItem(fileDesc.fileIndex + ".previewScrollTop"); storage.removeItem(fileDesc.fileIndex + ".previewScrollTop");
storage.removeItem(fileDesc.fileIndex + ".editorSelectRange");
eventMgr.onFileDeleted(fileDesc); eventMgr.onFileDeleted(fileDesc);
}; };

View File

@ -4,12 +4,13 @@ define([
"underscore", "underscore",
"constants", "constants",
"core", "core",
"utils",
"storage", "storage",
"logger", "logger",
"settings", "settings",
"eventMgr", "eventMgr",
"classes/AsyncTask", "classes/AsyncTask",
], function($, _, constants, core, storage, logger, settings, eventMgr, AsyncTask) { ], function($, _, constants, core, utils, storage, logger, settings, eventMgr, AsyncTask) {
var client; var client;
var authenticated = false; var authenticated = false;
@ -67,7 +68,7 @@ define([
} }
var immediate = true; var immediate = true;
function oauthRedirect() { function oauthRedirect() {
core.redirectConfirm('You are being redirected to <strong>Dropbox</strong> authorization page.', function() { utils.redirectConfirm('You are being redirected to <strong>Dropbox</strong> authorization page.', function() {
task.chain(localAuthenticate); task.chain(localAuthenticate);
}, function() { }, function() {
task.error(new Error('Operation canceled.')); task.error(new Error('Operation canceled.'));
@ -300,7 +301,7 @@ define([
return; return;
} }
function chooserRedirect() { function chooserRedirect() {
core.redirectConfirm('You are being redirected to <strong>Dropbox Chooser</strong> page.', function() { utils.redirectConfirm('You are being redirected to <strong>Dropbox Chooser</strong> page.', function() {
task.chain(); task.chain();
}, function() { }, function() {
task.error(new Error('Operation canceled.')); task.error(new Error('Operation canceled.'));

View File

@ -74,7 +74,7 @@ define([
task.timeout = constants.ASYNC_TASK_LONG_TIMEOUT; task.timeout = constants.ASYNC_TASK_LONG_TIMEOUT;
var code; var code;
function oauthRedirect() { function oauthRedirect() {
core.redirectConfirm('You are being redirected to <strong>GitHub</strong> authorization page.', function() { utils.redirectConfirm('You are being redirected to <strong>GitHub</strong> authorization page.', function() {
task.chain(getCode); task.chain(getCode);
}, function() { }, function() {
task.error(new Error('Operation canceled.')); task.error(new Error('Operation canceled.'));

View File

@ -187,7 +187,7 @@ define([
task.chain(localAuthenticate); task.chain(localAuthenticate);
return; return;
} }
core.redirectConfirm('You are being redirected to <strong>Google</strong> authorization page.', function() { utils.redirectConfirm('You are being redirected to <strong>Google</strong> authorization page.', function() {
task.chain(localAuthenticate); task.chain(localAuthenticate);
}, function() { }, function() {
task.error(new Error('Operation canceled.')); task.error(new Error('Operation canceled.'));

View File

@ -61,7 +61,7 @@ define([
}); });
} }
function oauthRedirect() { function oauthRedirect() {
core.redirectConfirm('You are being redirected to <strong>Tumblr</strong> authorization page.', function() { utils.redirectConfirm('You are being redirected to <strong>Tumblr</strong> authorization page.', function() {
task.chain(getVerifier); task.chain(getVerifier);
}, function() { }, function() {
task.error(new Error('Operation canceled.')); task.error(new Error('Operation canceled.'));

View File

@ -45,7 +45,7 @@ define([
task.timeout = constants.ASYNC_TASK_LONG_TIMEOUT; task.timeout = constants.ASYNC_TASK_LONG_TIMEOUT;
var code; var code;
function oauthRedirect() { function oauthRedirect() {
core.redirectConfirm('You are being redirected to <strong>WordPress</strong> authorization page.', function() { utils.redirectConfirm('You are being redirected to <strong>WordPress</strong> authorization page.', function() {
task.chain(getCode); task.chain(getCode);
}, function() { }, function() {
task.error(new Error('Operation canceled.')); task.error(new Error('Operation canceled.'));

View File

@ -55,7 +55,7 @@
</dd> </dd>
</dl> </dl>
<p> <p>
StackEdit <%= version %> &mdash; <a target="_blank" href="privacy_policy.html">Privacy Policy</a><br /> Copyright 2013 <a StackEdit <%= version %> &ndash; <a target="_blank" href="privacy_policy.html">Privacy Policy</a><br /> Copyright 2013 <a
target="_blank" href="http://www.benoitschweblin.com">Benoit target="_blank" href="http://www.benoitschweblin.com">Benoit
Schweblin</a><br /> Licensed under an <a target="_blank" Schweblin</a><br /> Licensed under an <a target="_blank"
href="http://www.apache.org/licenses/LICENSE-2.0">Apache href="http://www.apache.org/licenses/LICENSE-2.0">Apache

View File

@ -7,7 +7,6 @@ define([
"settings", "settings",
"eventMgr", "eventMgr",
"fileSystem", "fileSystem",
"core",
"fileMgr", "fileMgr",
"sharing", "sharing",
"classes/Provider", "classes/Provider",
@ -22,7 +21,7 @@ define([
"providers/sshProvider", "providers/sshProvider",
"providers/tumblrProvider", "providers/tumblrProvider",
"providers/wordpressProvider" "providers/wordpressProvider"
], function($, _, constants, utils, storage, settings, eventMgr, fileSystem, core, fileMgr, sharing, Provider, AsyncTask) { ], function($, _, constants, utils, storage, settings, eventMgr, fileSystem, fileMgr, sharing, Provider, AsyncTask) {
var publisher = {}; var publisher = {};
@ -351,7 +350,7 @@ define([
}); });
task.onSuccess(function() { task.onSuccess(function() {
if(pdf !== undefined) { if(pdf !== undefined) {
utils.saveAs(pdf, fileMgr.currentFile.title + ".pdf", core.redirectConfirm); utils.saveAs(pdf, fileMgr.currentFile.title + ".pdf");
} }
}); });
task.enqueue(); task.enqueue();

View File

@ -38,11 +38,15 @@ define([
'<head>\n', '<head>\n',
'<meta charset="utf-8">\n', '<meta charset="utf-8">\n',
'<title><%= documentTitle %></title>\n', '<title><%= documentTitle %></title>\n',
'<link rel="stylesheet" href="file:///app/stackedit/public/res-min/themes/base.css" />\n', '<link rel="stylesheet" href="',
constants.MAIN_URL,
'res-min/themes/base.css" />\n',
'<script type="text/x-mathjax-config">\n', '<script type="text/x-mathjax-config">\n',
'MathJax.Hub.Config({ messageStyle: "none" });\n', 'MathJax.Hub.Config({ messageStyle: "none" });\n',
'</script>\n', '</script>\n',
'<script type="text/javascript" src="file:///app/stackedit/public/libs/MathJax/MathJax.js?config=TeX-AMS_HTML"></script>\n', '<script type="text/javascript" src="',
constants.MAIN_URL,
'libs/MathJax/MathJax.js?config=TeX-AMS_HTML"></script>\n',
'</head>\n', '</head>\n',
'<body class="pdf"><%= documentHTML %></body>\n', '<body class="pdf"><%= documentHTML %></body>\n',
'</html>' '</html>'

View File

@ -252,11 +252,14 @@ define([
// Upgrade from v16 to v17 // Upgrade from v16 to v17
if(version == "v16") { if(version == "v16") {
if(_.has(localStorage, 'settings')) { _.each(_.keys(localStorage), function(key) {
settings = JSON.parse(localStorage.settings); var matchResult = key.match(/(file\.\S+\.)\S+/);
settings.pdfTemplate && (settings.pdfTemplate = settings.pdfTemplate.replace(/https:\/\/stackedit.io/g, 'file:///app/stackedit/public')); if(matchResult) {
localStorage.settings = JSON.stringify(settings); if(!_.has(localStorage, matchResult[1] + 'title')) {
localStorage.removeItem(key);
} }
}
});
version = "v17"; version = "v17";
} }

View File

@ -12,6 +12,8 @@
@title-base-size: 14px; @title-base-size: 14px;
@code-color: @text-color; @code-color: @text-color;
@code-bg: fade(@text-color, 4%); @code-bg: fade(@text-color, 4%);
@pre-bg: @blockquote-bg;
@pre-border-color: @blockquote-border-color;
@font-face { @font-face {
@ -167,10 +169,14 @@ code, pre {
font-size: 12px !important; font-size: 12px !important;
} }
// Need to force these values because of prettify
pre { pre {
padding: ((@line-height-computed - 1) / 2) !important; // Need to force these values because of prettify
border: 1px solid @pre-border-color !important; border-width: 0 !important;
border-left: 10px solid @pre-border-color !important;
border-radius: 0;
border-top-right-radius: 5px;
border-bottom-right-radius: 5px;
padding: 10px 15px !important;
code { code {
background-color: transparent !important; background-color: transparent !important;
} }

View File

@ -68,8 +68,6 @@
@blockquote-bg: fade(@secondary-desaturated, 5%); @blockquote-bg: fade(@secondary-desaturated, 5%);
@code-color: @secondary-color-darkest; @code-color: @secondary-color-darkest;
@code-bg: fade(@secondary-desaturated, 7.5%); @code-bg: fade(@secondary-desaturated, 7.5%);
@pre-bg: fade(@secondary-desaturated, 7.5%);
@pre-border-color: @secondary-border-color;
@hr-border: fade(@secondary-desaturated, 10%); @hr-border: fade(@secondary-desaturated, 10%);
@navbar-height: 49px; @navbar-height: 49px;
@navbar-default-bg: @primary-bg; @navbar-default-bg: @primary-bg;

View File

@ -20,6 +20,7 @@
@blockquote-bg: fade(#fff, 5%); @blockquote-bg: fade(#fff, 5%);
@code-bg: fade(#fff, 10%); @code-bg: fade(#fff, 10%);
@pre-bg: #bbb; @pre-bg: #bbb;
@pre-border-color: darken(@pre-bg, 30%);
@blockquote-border-color: fade(#fff, 8%); @blockquote-border-color: fade(#fff, 8%);
@modal-backdrop-bg: #444; @modal-backdrop-bg: #444;
@dropdown-border: @primary-bg; @dropdown-border: @primary-bg;

View File

@ -215,9 +215,31 @@ define([
].join("")); ].join(""));
}; };
// Shows a dialog to force the user to click a button before opening oauth popup
var redirectCallbackConfirm;
var redirectCallbackCancel;
utils.redirectConfirm = function(message, callbackConfirm, callbackCancel) {
redirectCallbackConfirm = callbackConfirm;
redirectCallbackCancel = callbackCancel;
$('.modal-redirect-confirm .redirect-msg').html(message);
$('.modal-redirect-confirm').modal("show");
};
utils.init = function() {
$('.action-redirect-confirm').click(function() {
redirectCallbackCancel = undefined;
redirectCallbackConfirm();
});
$('.modal-redirect-confirm').on('hidden.bs.modal', function() {
_.defer(function() {
redirectCallbackCancel && redirectCallbackCancel();
});
});
};
// Export data on disk // Export data on disk
utils.saveAs = function(content, filename, redirectConfirm) { utils.saveAs = function(content, filename) {
if(saveAs !== undefined && !/constructor/i.test(window.HTMLElement) /* safari does not support saveAs*/) { if(saveAs !== undefined && !/constructor/i.test(window.HTMLElement) /* safari does not support saveAs */) {
if(_.isString(content)) { if(_.isString(content)) {
content = new Blob([ content = new Blob([
content content
@ -235,12 +257,12 @@ define([
else { else {
var reader = new FileReader(); var reader = new FileReader();
reader.onload = function(event) { reader.onload = function(event) {
redirectConfirm('You are being downloading a PDF file.', function() { utils.redirectConfirm('You are opening a PDF document.', function() {
var uriContent = 'data:application/pdf;' + event.target.result.substring(event.target.result.indexOf('base64')); var uriContent = 'data:application/pdf;' + event.target.result.substring(event.target.result.indexOf('base64'));
window.open(uriContent, 'file'); window.open(uriContent, 'file');
}); });
}; };
reader.readAsDataURL(content);//Convert the blob from clipboard to base64 reader.readAsDataURL(content); // Convert the blob to base64
} }
} }
}; };