Zev Benjamin
1b5fb31b2c
Make viewport a module that caches height and width values
...
The .height() and .width() functions are actually pretty expensive for
the number of times we call them. The viewport height and width
don't change often, though, so we can just cache them and recalculate
them on window resize.
(imported from commit 129fb8c058144125e2974f6b7967cd9f1a5c9ead)
2013-05-09 10:35:47 -04:00
..
2013-05-07 11:47:12 -04:00
2013-04-18 09:57:56 -07:00
2013-05-01 16:10:35 -04:00
2013-02-19 15:33:35 -05:00
2013-04-10 18:05:02 -04:00
2013-05-09 10:35:46 -04:00
2013-05-09 10:35:46 -04:00
2013-03-11 13:22:12 -04:00
2013-05-02 15:35:46 -04:00
2013-05-03 11:14:47 -04:00
2013-04-10 16:58:17 -04:00
2013-05-09 10:35:47 -04:00
2013-05-07 11:47:13 -04:00
2013-05-09 10:35:46 -04:00
2013-05-09 10:35:47 -04:00
2013-04-22 11:14:03 -04:00
2013-02-21 13:29:17 -05:00
2013-05-09 10:35:46 -04:00
2013-04-10 18:05:01 -04:00
2013-04-10 18:05:02 -04:00
2013-05-09 10:35:47 -04:00
2013-05-09 10:35:46 -04:00
2013-04-05 10:38:38 -04:00
2013-03-05 12:48:33 -05:00
2013-04-24 10:35:25 -04:00
2013-05-09 10:35:46 -04:00
2013-05-09 10:35:46 -04:00
2013-05-09 10:35:47 -04:00
2013-05-09 10:35:47 -04:00
2013-05-09 10:35:47 -04:00