This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { module, test, todo } from "ember-qunit"; | |
import EmberObject from "@ember/object"; | |
import Mixin from "@ember/object/mixin"; | |
module( "simple es6 classes with .extend", { | |
before() { | |
// Works | |
this.A = class A extends EmberObject { | |
foo = 1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { module, test, setupTest } from "ember-qunit"; | |
import { default as EmberObject, computed, observer, set } from "@ember/object"; | |
import { addObserver } from "@ember/object/observers"; | |
module( "value observer", function( hooks ) { | |
setupTest( hooks ); | |
hooks.beforeEach(function() { | |
// no value observer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7. one is unregistered | |
Expected: false | |
Result: true | |
8. one doesn't exist | |
Expected: false | |
Result: true | |
11. two doesn't exist | |
Expected: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
INPUT="${1}" | |
OUTPUT="${2:-video.webm}" | |
MAXSIZE="${3:-3}" | |
START="${4}" | |
LENGTH="${5}" | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
notice the mouseout event: this will only fire when the cursor is leaving the drag region |