Commit Graph
111 Commits
Author SHA1 Message Date
Robert Pataki 49a3e4957b Set indentation in code and use the source JavaScript in demo 2014-04-28 17:13:54 +01:00
Robert Pataki 21aede66f2 Update jQuery plugin by supporting data() 2013-12-29 15:43:47 +00:00
Robert Pataki 7ebdd3d65c Add ability to automatically show or hide the new spinner instance on creation 2013-12-19 21:41:44 +00:00
Robert Pataki 277394696c Update the jQuery destruct method implementation
so that it null-s the CanvasLoader instance on destruction
2013-12-19 18:16:58 +00:00
Robert Pataki 32cdf91998 Minor updates and fixes
- Add the get() method to the jQuery plugin
- Add chainability to the appropriate jQuery plugin methods
- Update the get() method, so that it returns the value through the
  CL instance instead of the settings hash
- Rename the example folder to demos
2013-12-19 18:12:49 +00:00
Robert Pataki c7658d7d23 Add jQuery plugin 2013-12-19 18:02:23 +00:00
Robert Pataki 31cff815ff Fix issue with get() param names 2013-12-19 13:48:41 +00:00
Robert Pataki 609c933a71 Update the README file with information on Grunt 2013-12-19 13:34:04 +00:00
Robert Pataki 7fa71ae9b2 Update the example file to demo the different shapes 2013-12-19 13:23:52 +00:00
Robert Pataki a1da758fe9 Add documentation and build contents to the repo 2013-12-19 13:12:57 +00:00
Robert Pataki 3ce208cf9a Update the documentation of the optional settings hash 2013-12-19 13:07:44 +00:00
Robert Pataki 4693e4103a Code refactoring
- Horizontally center the parent element
- Expect DOM element instead of ID in the constructor
- Update the HTML example to focus on creating 1 simple CL instance only
2013-12-19 12:56:31 +00:00
Robert Pataki fc115eaf2b Minor code refactoring
- More readable spacing
- Updates to @private and @protecte methods and properties
2013-12-19 12:13:09 +00:00
Robert Pataki 971c7607df Update the Sublime workspace 2013-12-19 10:21:56 +00:00
Robert Pataki f2866f0fbb Use package versioning more efficiently 2013-12-17 23:55:30 +00:00
Robert Pataki 59d9d33d6d Adding Grunt and Sublime project settings 2013-12-17 23:51:17 +00:00
Robert Pataki 926a5bc7c7 Carry out major code refactoring
So that the code is a lot lighter and the API matches the single
instantiation user requirements a bit more. This is achieved mainly by
restructuring the getter and setter methods. The user now can use and
reuse a single hash with key/values to set up the canvasloader instance,
Retrieving the key values the user can use `get('key')`.

- Introduce arguments hash for default key/value pairs
- Remove obsolete @method lines from code
- Replace `getValue` type getters with `get(key)` getters
- Remove setters completely and implemented initialiser hash object
- Introduce private methods using `_` prefix
2013-12-16 20:04:19 +00:00
Robert Pataki f18031ac06 WIP 2013-06-17 17:12:38 +01:00
Robert Pataki 314f1c0510 Merge pull request #18 from mogadanez/master
Do not iterate array via for ( i in array )
2013-05-22 03:25:47 -07:00
Alexander Popov c7b0dad1ae Do not iterate array via for ( i in array ). such iterations include methods added in array prototype. 2013-04-23 16:28:33 +04:00
Robert Pataki 63ec92e114 Minor updates v0.9.1 2012-03-20 20:41:59 +00:00
Robert Pataki 8336bffa1d Commit in example HTML file resolved. 2011-11-17 14:01:51 +00:00
Robert Pataki 0f25960d22 "Fizzy" bugfix
The shapes had a bit of a "fizziness" around the edges caused by
improper translation. The bug is now fixed.
2011-11-15 00:54:58 +00:00
Robert Pataki ebbc4be47e Test html file title change 2011-11-15 00:14:48 +00:00
Robert Pataki 0b09b40ec6 Shape rendering issue fix
Rectangle / Rounded rectangle shape rendering issues fixed.
2011-11-15 00:10:28 +00:00
Robert Pataki 15842271e3 Canvas drawing glitch fixed.
At small diameter the cropping still occurred, it is now fixed.
2011-10-31 19:42:46 +00:00
Robert Pataki e19c995f6b Canvas mode cropping issue fix
There was a cropping issue in Canvas mode with the spiral, oval and
square shapes - which is now fixed.
2011-10-28 23:17:21 +01:00
Robert Pataki fb007fcfba Major bugfix in constructor
- The options parameter wasn't checked and handled properly in the
constructor, this issue is now fixed,
- Minified file and documentation is updated
2011-10-22 17:07:42 +01:00
Robert Pataki 4887e28697 Safe VML mode, auto hiding and optional constructor parameters added.
- safeMode added to make high density VML mode rendering CPU sensible,
- Optional parameters added to the constructor with [id] and [safeVML]
parameters,
- Autohide added, the loader instances don't start rendering until the
show() method is called,
- Minified file is updated,
- Documentation is updated,
- Example html file is updated
2011-10-22 16:52:29 +01:00
Robert Pataki 9b1e016694 Code optimazition
- Variable and function names are shortened.
- Minified file updated.
- Documentation updated.
2011-10-17 19:30:49 +01:00
Robert Pataki d67486e81d - VML mode IE8 display bugs fixed
- Canvas mode shape glitches fixed
- Documentation updated
- Minified js file updated
- Second test html file removed
2011-10-16 16:43:08 +01:00
Robert Pataki 7c1371181c Documentation updated. 2011-10-09 22:26:15 +01:00
Robert Pataki ab2160200d Updated minified version. 2011-10-09 21:56:37 +01:00
Robert Pataki fea62fa24e Merge branch 'vml_fallback' of https://github.com/heartcode/CanvasLoader into vml_fallback
Conflicts:
	heartcode-canvasloader-2.html
	heartcode-canvasloader.html
	js/heartcode-canvasloader-min.js
	js/heartcode-canvasloader.js
2011-10-09 21:42:50 +01:00
Robert Pataki 8abff2e19f The Canvas shapes look identical to the VML ones. 2011-10-09 21:32:58 +01:00
heartcode 10b68e8f91 VML final
The VML mode is done, all working fine.
2011-10-09 17:56:44 +01:00
heartcode 245fa78057 VML is finally working, a bit too CPU intense and the shapes are not 100% accurate thought, but absolutely getting there! 2011-10-07 17:26:45 +01:00
Robert Pataki a6dd725f6f VML support added
VML support added with different shapes. There seems to be an issue
with IE8 and the VML local coordinate system, at the moment the VML
drawing is not working properly, but with some tweaks it should be fine.
2011-09-24 20:39:53 +01:00
heartcode 497405a438 VML support added
VML support added with different shapes. There seems to be an issue
with IE8 and the VML local coordinate system, at the moment the VML
drawing is not working properly, but with some tweaks it should be fine.
2011-09-24 20:39:53 +01:00
Robert Pataki e2f55014da README file updated (demo link). 2011-07-13 00:33:31 +01:00
heartcode 54a7cdbbb2 README file updated (demo link). 2011-07-13 00:33:31 +01:00
Robert Pataki ff8cdadc6a Merge branch 'master' of github.com:heartcode/CanvasLoader 2011-07-11 23:47:54 +01:00
heartcode d5970698a3 Merge branch 'master' of github.com:heartcode/CanvasLoader 2011-07-11 23:47:54 +01:00
Robert Pataki f681104c3e Merge branch 'master' of github.com:heartcode/CanvasLoader 2011-07-11 23:47:36 +01:00
heartcode fdad463d8e Merge branch 'master' of github.com:heartcode/CanvasLoader 2011-07-11 23:47:36 +01:00
Robert Pataki 8b770fa7c4 Merge branch 'master' of github.com:heartcode/CanvasLoader 2011-07-11 21:16:48 +01:00
heartcode a9487edf91 Merge branch 'master' of github.com:heartcode/CanvasLoader 2011-07-11 21:16:48 +01:00
Robert Pataki 1548bf5d85 Merge branch 'master' of github.com:heartcode/CanvasLoader 2011-07-11 21:16:33 +01:00
heartcode 59dbd10236 Merge branch 'master' of github.com:heartcode/CanvasLoader 2011-07-11 21:16:33 +01:00
Robert Pataki 1aa3fc6c46 Merge branch 'master' of github.com:heartcode/CanvasLoader 2011-07-11 21:15:47 +01:00