Sha256: e0b730626e44a2bba3330266dee3b9245da4d1468b3b98cd4196ba298e9c4d80
Contents?: true
Size: 579 Bytes
Versions: 11
Compression:
Stored size: 579 Bytes
Contents
e = up.element $ = jQuery fixturesContainer = undefined ensureContainerExists = -> fixturesContainer ||= e.affix(document.body, '.fixtures') afterEach -> if fixturesContainer e.remove(fixturesContainer) fixturesContainer = undefined appendFixture = (args...) -> container = ensureContainerExists() e.affix(container, args...) $appendFixture = (args...) -> $(appendFixture(args...)) window.fixture = appendFixture window.$fixture = $appendFixture # A lot of legacy tests require this jQuery function $.fn.affix = (args...) -> $(e.affix(this[0], args...))
Version data entries
11 entries across 11 versions & 1 rubygems