message: add a unit test case for testing resize event
diff: @@ -119,4 +119,13 @@ describe('BScroll - core scroll', () => {
  expect(scroll.y)
  .to.equal(-500)
  })
  + it('resize', () => {
  + if (document.createEvent) {
  + var event = document.createEvent("HTMLEvents");
  + event.initEvent("resize", true, true);
  + window.dispatchEvent(event);
  + } else if (document.createEventObject) {
  + window.fireEvent("onresize");
  + }
  + })
  })
  