Commit Graph

152 Commits

Author SHA1 Message Date
Ivan Malopinsky
44e10b9475 add resizable functionality 2014-06-13 00:16:50 -04:00
Ivan Malopinsky
1a8aa9bffe refactor, excluding fluid images 2014-06-13 00:07:38 -04:00
Ivan Malopinsky
703dff9e62 add test file, rework variables 2014-06-07 22:16:34 -04:00
Ivan Malopinsky
6b4bd20a77 switch commit hash to seconds in year 2014-05-17 01:22:17 -04:00
Ivan Malopinsky
b4dd2eb520 use latest commit hash in semver 2014-05-17 00:21:02 -04:00
Ivan Malopinsky
4da1af7451 remove version from bower.json 2014-05-16 20:30:51 -04:00
Ivan Malopinsky
1bc37b7086 refactor, move polyfills out, fix #85 2014-05-16 20:24:21 -04:00
Ivan Malopinsky
1a299d6bb2 remove stylesheet code 2014-04-09 12:39:16 -04:00
Ivan Malopinsky
86497f448b move debounce param into system_config
simplify draw calls for auto and fluid placeholders
resize svg without aspect ratio preservation
2014-04-09 12:38:31 -04:00
Ivan Malopinsky
32f9ecfe7a Merge pull request #96 from msealand/debounce
Debounce resize events to improve performance
2014-04-09 11:16:09 -04:00
Michael Sealand
c05e71b909 Debounce resize events to improve performance
When using more than a couple fluid placeholders at a time,
the performance of resizing the browser window can degrade
significantly.

To fix this I added a "debounce" function to the resize event.
Basically it only calls resizable_update() if a certain amount
of time (100ms by default) has passed since the last time the
browser window's size changed.

The debounce time can be changed via Holder.run({debounce:<time>});
Make if falsey to disabled it completely.
2014-04-08 19:10:08 -07:00
Ivan Malopinsky
1b89ddac06 Merge pull request #88 from mediaclip/font-weight
Added font-weight support for custom themes
2014-03-20 22:29:49 -04:00
David Côté
4f97ebf4d6 Updated documentation for the fontweight attribute 2014-03-18 23:19:39 -04:00
David Côté
7cdffbde7a Added the fontweight attribute to custom themes drawn with svg 2014-03-18 22:55:26 -04:00
David Côté
bc1d0ac9a5 Added the fontweight attribute to custom themes drawn with canvas 2014-03-18 22:51:02 -04:00
Christian Rondeau
c7c5183d1e Fixes JSHint issues (missing var and misleading ".75") 2014-03-18 11:59:52 -04:00
Ivan Malopinsky
f4fc0b4ac8 fix #81, chrome bug where web fonts are blank with empty stylesheet v2.3.2 2014-03-11 22:53:46 -04:00
Ivan Malopinsky
a74c2d0b4a Merge pull request #83 from lolychee/patch-1
Support Unicode characters
2014-03-06 13:42:39 -05:00
Ivan Malopinsky
b00ca0ff7b Merge pull request #84 from lolychee/patch-2
Support Turbolinks
2014-03-06 11:38:43 -05:00
lolychee
839e3a4313 Support Turbolinks 2014-03-06 20:36:27 +08:00
lolychee
cff264f986 Support Unicode characters
See also https://developer.mozilla.org/en-US/docs/Web/API/Window.btoa
2014-03-06 16:17:59 +08:00
Ivan Malopinsky
f871874dbb Merge pull request #82 from lipis/patch-1
Removed empty dependencies from bower.json
2014-03-04 11:36:05 -05:00
Lipis
a580a83e92 Removed empty dependencies from bower.json 2014-03-04 12:42:13 +01:00
Ivan Malopinsky
55a53b737e update package files to 2.3.1 v2.3.1 2014-02-07 21:06:55 -05:00
Ivan Malopinsky
292c65b746 update version 2014-02-07 21:02:16 -05:00
Ivan Malopinsky
bcb5b8b7a2 Merge branch 'master' of github.com:imsky/holder 2014-02-07 21:01:46 -05:00
Ivan Malopinsky
1b020e58ea fix #75 SVG bug in IE 2014-02-07 21:01:31 -05:00
Ivan Malopinsky
5b79144fa4 Merge pull request #74 from cvrebert/patch-1
Use "/*!" to ensure attribution comment is preserved
2014-01-13 04:17:02 -08:00
Chris Rebert
2a25542793 Use "/*!" to ensure attribution comment is preserved
There is a convention among JS (and CSS) minifiers that comments which use the /*! ... */ format will be preserved.
This is primarily intended to be used for licensing and attribution information, like this file header comment.
2014-01-13 00:44:46 -08:00
Ivan Malopinsky
0de68e0880 reword readme 2014-01-07 16:44:53 -05:00
Ivan Malopinsky
e9385dc923 update package files v2.3.0 2014-01-07 02:04:15 -05:00
Ivan Malopinsky
163a185869 fix readme 2014-01-06 23:39:30 -05:00
Ivan Malopinsky
dc075464b5 invisible placeholder error callback, fix #66 and #67 2014-01-06 23:34:00 -05:00
Ivan Malopinsky
20cb4f7f73 update readme 2014-01-06 21:30:07 -05:00
Ivan Malopinsky
cd561db90f always run with an empty options object 2013-12-31 15:26:42 -05:00
Ivan Malopinsky
1cf13b680a fix #71 by using generated options instead of argument options 2013-12-31 15:22:09 -05:00
Ivan Malopinsky
1ba0945b88 fix #71 2013-12-31 13:19:01 -05:00
Ivan Malopinsky
ea2fac2b4e svg renderer with feature testing and new instance config, fix #65 and #68 2013-12-29 13:23:45 -05:00
Ivan Malopinsky
d054dc376d auto flag on fluid images preserves aspect ratio, fix #63 2013-10-22 16:09:45 -04:00
Ivan Malopinsky
4e4b837a20 update versions v2.2.0 2013-10-18 14:58:42 -04:00
Ivan Malopinsky
e46f90b7e0 shorten sentence 2013-10-18 14:46:25 -04:00
Ivan Malopinsky
db2959c0b1 update readme 2013-10-18 14:45:47 -04:00
Ivan Malopinsky
d714c7dff3 force fluid placeholders to always render 2013-10-13 14:35:06 -04:00
Ivan Malopinsky
e04ba34800 remove dimension text, original theme, simplify variables 2013-10-13 14:30:10 -04:00
Ivan Malopinsky
e6bacbe827 update version and README 2013-10-13 14:19:18 -04:00
Ivan Malopinsky
dd1517db94 add exact sizing, fix #60 2013-10-13 14:17:29 -04:00
Ivan Malopinsky
83a9a41059 fix theme override bugs 2013-10-13 13:56:39 -04:00
Ivan Malopinsky
92e044ca0c add holder object to draw arguments 2013-10-13 13:22:23 -04:00
Ivan Malopinsky
00b33aa5ad add re-render for hidden fluid elements prior to DOM ready, add exception for constantly hidden fluid elements, fix #59 2013-10-13 12:58:49 -04:00
Ivan Malopinsky
618a570d17 restore main file 2013-10-13 12:12:47 -04:00