コミット履歴

作者 SHA1 メッセージ 日付
  Maciej Gołaszewski bacc3a704c Tests: Properly use sinon sandbox in tests. 7 年 前
  Piotrek Koszuliński 1eba2cbdb7 Internal: Bumped the year. [skip ci] 8 年 前
  Maciej Bukowski 52460a5abc Added test for Rect class. 8 年 前
  Kamil Piechaczek f0070e2613 Fixed failing tests in Safari. 8 年 前
  Kamil Piechaczek 417d9ab1f8 Used `Node#appendChild` method instead of `Node#append`. 8 年 前
  Aleksander Nowodzinski 82dc93f5e3 Tests: Added tests to verify Rect class works for various cases of another window's context. 8 年 前
  Aleksander Nowodzinski ebf5029b4b Made Rect class independent of global#window and document. Using rect source's window instead. 8 年 前
  Aleksander Nowodzinski ac9a54af45 Tests: Silenced Rect warnings. 8 年 前
  Aleksander Nowodzinski 36a5abd385 Internal: A warning should show up when a Rect instance is for an HTML element or a DOM range not belonging to a rendered DOM tree. Closes #178. 8 年 前
  Aleksander Nowodzinski 9878640f6e Code refactoring in the Rect class: removed static Rect.getViewportRect and replaced it with new Rect( window ). Introduced a new instance method #excludeScrollbarsAndBorders. 8 年 前
  Aleksander Nowodzinski 21665dba4c Tests: Updated stubs to the latest Sinon API. 8 年 前
  Kamil Piechaczek 51d37ed37a Upgraded tests to the latest Chai and Sinon version. 8 年 前
  Aleksander Nowodzinski ab167f71a9 Implemented Rect class methods #isEqual() and #contains(). Allowed exclusion of borders and scrollbars. 8 年 前
  Aleksander Nowodzinski b1f09018dd Other: Provided a static `Rect#getDomRangeRects` method for external usage. Closes #168. 8 年 前
  Aleksander Nowodzinski 14e38d6c63 Fix: Rect utility should work for collapsed DOM Ranges. Closes #153. 8 年 前
  Aleksander Nowodzinski d6b2b2138c Renamed Rect#_obj to Rect#_source. Code refactoring. 8 年 前
  Aleksander Nowodzinski 64cc2f7775 Performance: Speed up Rect#getVisible nearly twice by avoiding window#getComputedStyles. 8 年 前
  Aleksander Nowodzinski e1088036e1 Fixed: Range#getVisible throws when used for document#body. 8 年 前
  Aleksander Nowodzinski 114e54bbb8 Implemented Rect#getVisible method. Defined Rect#_obj property. 8 年 前
  Piotrek Koszuliński 69b66d2a0c Updated imports to use scoped packages. 9 年 前
  Piotrek Koszuliński 41ab72e6f1 Bump up the year. 9 年 前
  Piotrek Koszuliński 8fff7a1da5 Use package-based paths to modules. 9 年 前
  Aleksander Nowodzinski 095a172d9d Improved global module. 9 年 前
  Aleksander Nowodzinski 60f4e96c2c Used global module in various modules and tests to bulletproof them with predictable stubs. 9 年 前
  Aleksander Nowodzinski 13d400a86f Allowed DOM ClientRect as a constructor argument of the Rect. 9 年 前
  Aleksander Nowodzinski d042bfcd10 Fixed: Rect.getIntersectionArea() returns positive area for intersection of rects which has negative width and height (disjoint rects). 9 年 前
  Aleksander Nowodzinski 3a5038f3f2 Fixed: Rect.getViewportRect() returns position:absolute coordinates instead of boundingClientRect–like. 9 年 前
  Aleksander Nowodzinski 5cac14e773 Added Rect class with tests. 9 年 前