Sha256: 1c0b37d8add63df1d33058975198885dd04fc3d80c937466761ba98292ea0033

Contents?: true

Size: 275 Bytes

Versions: 2

Compression:

Stored size: 275 Bytes

Contents

var Helpers = {
  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

2 entries across 2 versions & 1 rubygems

Version Path
backbone-support-0.5.1 spec/javascripts/helpers/helpers.js
backbone-support-0.5.0 spec/javascripts/helpers/helpers.js