http://ln.hixie.ch/?start=1037910467&count=1
http://ln.hixie.ch/?start=1137740632&count=1
| - (IBAction)clickedCloseButton:(id)sender { | |
| UIActionSheet *actionSheet = [[UIActionSheet alloc] initWithTitle:@"Discard post?" | |
| delegate:self | |
| cancelButtonTitle:@"Cancel" | |
| destructiveButtonTitle:@"Discard" | |
| otherButtonTitles:@"Save draft", nil]; | |
| [actionSheet showInView:self.view]; | |
| } | |
| // UIActionSheetDelegate methods |
| package org.springframework.web.servlet.support; | |
| import java.io.IOException; | |
| import javax.servlet.FilterChain; | |
| import javax.servlet.ServletException; | |
| import javax.servlet.http.HttpServletRequest; | |
| import javax.servlet.http.HttpServletResponse; | |
| import org.springframework.web.filter.OncePerRequestFilter; |
| { | |
| // Delay in ms until autocompletion pops up after . or :: or -> | |
| // Set to 0 to disable | |
| "popup_delay": 100, | |
| // Delay in ms until recompiling the file after the buffer is modified | |
| // Set to 0 to disable | |
| "recompile_delay": 1000, | |
| // Whether or not to hide the clang output panel when it's empty |
NOTE I now use the conventions detailed in the SUIT framework
Used to provide structural templates.
Pattern
t-template-name
| .fb_access_token | |
| .fbconsole.py |
| Choose a ticket class: <select id="tickets"></select> | |
| <p id="ticketOutput"></p> | |
| <script id="ticketTemplate" type="text/x-jquery-tmpl"> | |
| {{if chosenTicket}} | |
| You have chosen <b>${ chosenTicket().name }</b> | |
| ($${ chosenTicket().price }) | |
| <button data-bind="click: resetTicket">Clear</button> | |
| {{/if}} |