fix non-extendable objects regression of 1.1.0

Closes #5650 until we figure out a less hacky solution.
This commit is contained in:
Vladimir Agafonkin
2017-07-24 15:53:29 +03:00
parent eb9572800d
commit 957f05da23
6 changed files with 18 additions and 6 deletions

View File

@ -8,4 +8,10 @@ describe('General', function () {
expect(L.noConflict()).to.eql(leaflet);
});
describe('namespace extension', function () {
L.Util.foo = 'bar';
expect(L.Util.foo).to.eql('bar');
});
});