I hereby claim:
- I am svizzari on github.
- I am svizzari (https://keybase.io/svizzari) on keybase.
- I have a public key ASA8MyM6EYjheZEZn56kbFs-WqwYr6aoUzgIMvdCHvob8Ao
To claim this, I am signing this object:
beforeFilters: { | |
switchTo: function() { | |
return false; // or some truthy value | |
}, | |
someOtherMethod: 'methodName' | |
} |
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="http://code.jquery.com/jquery.min.js"></script> | |
<link href="http://getbootstrap.com/dist/css/bootstrap.css" rel="stylesheet" type="text/css" /> | |
<script src="http://getbootstrap.com/dist/js/bootstrap.js"></script> | |
<script src="//cdnjs.cloudflare.com/ajax/libs/handlebars.js/1.3.0/handlebars.js"></script> | |
<script src="//cdn.jsdelivr.net/emberjs/1.5.0/ember.js"></script> | |
<meta charset="utf-8"> | |
<title>JS Bin</title> |
{ | |
events: { | |
'message.ticket_saved': function(data) { | |
services.notify('Ticket saved! ' + data.ticketId, 'notice'); | |
}, | |
'ticket.save': function() { | |
var allowSave = true; | |
this.message('ticket_saved', { ticketId: 2 }, 'nav_bar'); | |
return allowSave; | |
} |
<select data-zd-type="select_menu"> | |
<option>Foo</option> | |
<option>Bar</option> | |
</select> |
(function() { | |
with( ZendeskApps.AppScope.create() ) { | |
var source = (function() { | |
return { | |
fieldsOnError: [], | |
requests: { | |
fetchUser: function() { | |
return { | |
url: helpers.fmt('/api/v2/users/%@.json?include=groups,organizations', |
{ | |
"tickets": [ | |
{ | |
"requester_id": 1, | |
"assignee_id": 5, | |
"subject": "velit eiusmod reprehenderit officia cupidatat", | |
"description": "Aute ex sunt culpa ex ea esse sint cupidatat aliqua ex consequat sit reprehenderit. Velit labore proident quis culpa ad duis adipisicing laboris voluptate velit incididunt minim consequat nulla. Laboris adipisicing reprehenderit minim tempor officia ullamco occaecat ut laborum.\n\nAliquip velit adipisicing exercitation irure aliqua qui. Commodo eu laborum cillum nostrud eu. Mollit duis qui non ea deserunt est est et officia ut excepteur Lorem pariatur deserunt.", | |
"tags": [ | |
"est", | |
"nisi", |
{ | |
"options": { | |
"domains": [], | |
"inputIDs": [], | |
"limit": [] | |
}, | |
"templates": [ | |
{ | |
"issuetype-field": "", | |
"name": "DEFAULT TEMPLATE", |
{ | |
"options": { | |
"domains": [], | |
"inputIDs": [], | |
"limit": [] | |
}, | |
"templates": [ | |
{ | |
"issuetype-field": "", | |
"name": "DEFAULT TEMPLATE", |
I hereby claim:
To claim this, I am signing this object: