Sha256: 01598fe7b7da1c88a5095651addc8d2d4c0c84489937d1a23cdab593ea1193a4

Contents?: true

Size: 318 Bytes

Versions: 6

Compression:

Stored size: 318 Bytes

Contents

var Helpers = {
  sleep: function() {
    waits(10);
  },

  setup: function() {
    this.teardown();
    this.append("test");
  },

  teardown: function() {
    window.location.hash = "#"
    $(".test").remove();
  },

  append: function(id) {
    $("body").append("<div class='test' id='" + id + "'></div>");
  }
};

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
backbone-support-0.4.0 spec/javascripts/helpers/helpers.js
backbone-support-0.3.2 spec/javascripts/helpers/helpers.js
backbone-support-0.3.1 spec/javascripts/helpers/helpers.js
backbone-support-0.3.0 spec/javascripts/helpers/helpers.js
backbone-support-0.2.0 spec/javascripts/helpers/helpers.js
backbone-support-0.0.1 spec/javascripts/helpers/helpers.js