1
0
mirror of https://github.com/videojs/video.js.git synced 2025-02-08 12:05:47 +02:00
Steve Heffernan ef321a8072 MAJOR REFACTOR: Restrcutured code into class-based components. Setup and configuring should still work the same, but controls and tech elements are now sub-classes for Component, which builds elements and applies event behaviors.
Removed demo source code from repository root. Was receiving pull requests for the release files instead of source files. This makes it more clear where to make changes.
2011-11-29 11:40:05 -08:00
..

QUnit.step() - A QUnit Addon For Testing execution in order

This addon for QUnit adds a step method that allows you to assert the proper sequence in which the code should execute.

Example:

test("example test", function () {
  function x() {
    QUnit.step(2, "function y should be called first");
  }
  function y() {
    QUnit.step(1);
  }
  y();
  x();
});