File tree Expand file tree Collapse file tree 6 files changed +35
-6
lines changed Expand file tree Collapse file tree 6 files changed +35
-6
lines changed Original file line number Diff line number Diff line change 1010%}
1111{% include 2017/head.html critical='home' %}
1212
13- </ head > < body > 
13+ </ head > < body   class =' UseCompactHeader HighlightPubFirstLine ' > 
1414
1515{% include 2017/top-nav.html page=page is_home=true noedit=true noback=true %}
1616
Original file line number Diff line number Diff line change 44{% include 2017/head.html critical='sheet' %}
55{% include 2017/article-schema.html page=page %}
66
7- </ head > < body > 
7+ </ head > < body   class =' UseCompactHeader HighlightPubFirstLine ' > 
88
99{% include 2017/top-nav.html page=page %}
1010
Original file line number Diff line number Diff line change @@ -78,7 +78,9 @@ $placeholder-bg-size: 450px;
7878
7979  //  Hide placeholders after carbon has loaded
8080  #carbonads  ~ .placeholder  {
81-     display  : none ;
81+     opacity  : 0 ;
82+     transition  : opacity  250ms   linear ;
83+     pointer-events  : none ;
8284  }
8385
8486  &  > .placeholder  {
@@ -135,6 +137,10 @@ $placeholder-bg-size: 450px;
135137    text-align  : left ;
136138  }
137139
140+   .HighlightPubFirstLine  &  > div  > span :first-line  {
141+     font-weight  : bold ;
142+   }
143+ 
138144  //  Clearfix
139145  &  > div  > span ::after  {
140146    content : ' '  ;
@@ -149,6 +155,10 @@ $placeholder-bg-size: 450px;
149155  }
150156}
151157
158+ #carbonads  {
159+   animation  : 250ms   ease-out  pub- text- enter;
160+ }
161+ 
152162@keyframes  placeholder-swish  {
153163  0%  {
154164    background-position  : ($placeholder-bg-size  * -1  /  3 ) 0%  ;
@@ -162,3 +172,14 @@ $placeholder-bg-size: 450px;
162172    background-position  : ($placeholder-bg-size  *  2  /  3 ) 0%  ;
163173  }
164174}
175+ 
176+ @keyframes  pub-text-enter  {
177+   0%  {
178+     opacity  : 0 ;
179+     transform  : scale (0.97 );
180+   }
181+ 
182+   100%  {
183+     opacity  : 1 ;
184+   }
185+ }
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ keywords:
1616## Getting started  
1717
1818### Introduction  
19+ {: .-intro}
1920
2021[ Enzyme] ( http://airbnb.io/enzyme )  lets you write unit tests for React components. This guide covers Enzyme 3.x.
2122
Original file line number Diff line number Diff line change @@ -47,8 +47,7 @@ $ echo '{"hello": "world"}' | http POST example.com/post
4747
4848### Options  
4949
50- Print options:
51- {: .-setup}
50+ #### Printing options  
5251
5352``` bash 
5453-v, --verbose            #  same as --print=HhBb --all
Original file line number Diff line number Diff line change 11--- 
22title : Promises 
33category : JavaScript 
4- intro :  A quick reference to the [Promise API](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise). 
4+ layout :  2017/sheet 
55--- 
66
77## Reference  
88{:.-three-column}
99
10+ ### Introduction  
11+ {: .-intro}
12+ 
13+ intro: A quick reference to the JavaScript [ Promise API] ( https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise ) .
14+ 
15+ -  [ Using Promises guide] ( https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Using_promises )  _ (developer.mozilla.org)_ 
16+ -  [ Promise documentation] ( https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise )  _ (developer.mozilla.org)_ 
17+ 
1018### Creating promises  
1119
1220``` js 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments