muu

DEPRECATED lightweight JS framework
git clone https://git.ce9e.org/muu.git

commit
c4079808349daed76c33409cc67f4972a0eeb51e
parent
b43c6707709f3c029a0256b458b4fbc842c8a036
Author
Tobias Bengfort <tobias.bengfort@gmx.net>
Date
2015-08-22 18:03
avoid using sinon.spy(object, 'method')

seems to break in IE8

Diffstat

M test/test-registry.js 3 ++-

1 files changed, 2 insertions, 1 deletions


diff --git a/test/test-registry.js b/test/test-registry.js

@@ -54,7 +54,8 @@ define(['muu', 'muu-directive', 'muu-js-helpers'], function(Registry, Directive,
   54    54                 expect(Directive.prototype.isPrototypeOf(directive)).to.be(true);
   55    55             });
   56    56             it('uses the registered template', function() {
   57    -1                 sinon.spy(registry, 'renderer');
   -1    57                 var originalRenderer = registry.renderer;
   -1    58                 registry.renderer = sinon.spy(originalRenderer);
   58    59 
   59    60                 var directive = registry.link(element, 'test');
   60    61                 directive.update();