Skip to content

Instantly share code, notes, and snippets.

View billpull's full-sized avatar

Bill Pullen billpull

  • ParlayPlay
  • Miami, FL
View GitHub Profile
import Ember from 'ember';
export default Ember.Component.extend({
classNames:['cx-modal'],
attributeBindings: ['tabindex:tabindex','role:role'],
role:'dialog',
tabindex:0,
didRender(){
this.$().children().first().focus();
},
@billpull
billpull / Layer to Sprite.jsx
Last active August 29, 2015 14:02 — forked from jessefreeman/layers_to_sprite_sheet.js
Create vertical sprite in photoshop
// Put this file in Program Files\Adobe\Photoshop\Presets\Scripts\
// In PhotoShop menu File > Automate > Scripts: layersToSprite.js
// Arrange layers into a sprite sheet.
if (documents.length > 0)
{
// --------------------------
docRef = activeDocument;