Skip to content

Instantly share code, notes, and snippets.

import Ember from 'ember';
export default Ember.Component.extend({
attributeBindings: ["draggable"],
classNames: ["a-handle"],
draggable: true,
dragStart(e) {
this.set("origX", e.originalEvent.clientX);
this.set("origWidth", parseInt(this.$().closest("th,td").css("width").replace(/px$/, ""), 10));
@pwilms
pwilms / buildMobileVLC.sh
Created October 12, 2015 11:26 — forked from fbradyirl/buildMobileVLC.sh
Modified to build tvOS framework. run with ./buildMobileVLCKit.sh -t -f
#!/bin/sh
# Copyright (C) Pierre d'Herbemont, 2010
# Copyright (C) Felix Paul Kühne, 2012-2015
set -e
BUILD_DEVICE=yes
BUILD_SIMULATOR=yes
BUILD_STATIC_FRAMEWORK=no
SDK=`xcrun --sdk iphoneos --show-sdk-version`