Commit Graph

114 Commits

Author SHA1 Message Date
geowarin
b69ef10691 Added undoAll() and redoAll() methods 2014-08-24 18:47:54 +02:00
Oliver Sartun
180d56294a Added contributors to the authors-list 2014-07-28 11:29:50 +02:00
Oliver Sartun
36be1990b8 Updated patch-version and contributor-list 2014-07-28 11:27:46 +02:00
Oliver Sartun
1dcb178788 Merge pull request #12 from marcin-lawrowski/feature/clearStack
Added clearing method
Thanks for your contribution!
2014-07-28 11:22:21 +02:00
Marcin Lawrowski
cacc9dc2c9 Added clearing method 2014-07-26 16:38:48 +02:00
Oliver Sartun
01586446ed Updated the patch-version 2014-07-12 11:58:44 +02:00
Oliver Sartun
59c5039f35 Added AMD support 2014-07-12 11:55:22 +02:00
Oliver Sartun
cabcb80403 Added chaining support
Added chaining support for add / change / remove UndoTypes
2014-07-08 19:54:14 +02:00
Oliver Sartun
d8bc79d378 Corrected Readme / Docs 2014-07-08 19:47:58 +02:00
Oliver Sartun
5a6e37e7d5 Ignore node_modules
If I get this:
http://stackoverflow.com/questions/11459475/should-i-check-in-node-modul
es-to-git-when-creating-a-node-js-app-on-heroku correctly, I shouldn’t
check in node_modules as this is not an application, but a reusable
package. Right?! I have honestly no experience with node!
2014-07-08 19:42:46 +02:00
Oliver Sartun
59bfb236cf A package.json to publish it in npm 2014-07-02 21:55:10 +02:00
Oliver Sartun
18fa4f70ed Changed description & authors; rm version; added license
The description now also contains that it's targeted at small/simple apps
Bower ignores the version tag now, so I removed it
Bower recommends to put in the license tag
2014-07-02 21:39:00 +02:00
Oliver Sartun
8d026dbb12 Merge pull request #9 from osartun/patch-1
Added CommonJS Support by shuvalov-anton
2014-06-30 11:40:58 +02:00
Oliver Sartun
694c0d6156 Corrected typo
An f was missing. It was just actory instead of factory
2014-06-30 11:37:37 +02:00
Shuvalov Anton
521049ac89 add commonjs support 2014-06-29 17:11:16 +04:00
Oliver Sartun
432c5ed9e5 Merge pull request #5 from creynders/bowerup
Added bower.json file
2014-02-11 13:08:16 +01:00
Camille Reynders
8d17cc8174 Added bower.json file
Fixes #1
2014-02-10 12:02:25 +01:00
Oliver Sartun
79d64b4556 Merge pull request #4 from osartun/patch-1
Corrected grammatical mistakes
2014-01-11 04:31:26 -08:00
Oliver Sartun
e88574fbb1 Corrected grammatical mistakes 2014-01-11 13:29:41 +01:00
Oliver Sartun
5186f4e30e Merge pull request #3 from Infowatch/master
hot fix collision with native backbone unset option #2
2014-01-11 04:23:20 -08:00
Vladislav Botvin
0142f982e8 hot fix collision with native backbone unset option #2 2014-01-11 00:09:05 +04:00
Oliver Sartun
4927777d8e Added a link to backbone.undojs.com 2013-11-04 00:51:52 +01:00
Oliver Sartun
5997f735cf Renamed "Magic Condensation" to "Magic Fusion" 2013-10-29 22:49:49 +01:00
Oliver Sartun
b02b3e6278 Renamed "Magic Condensation" to "Magic Fusion" 2013-10-29 22:47:39 +01:00
Oliver Sartun
82112bd479 Added missing concretization 2013-10-29 21:54:42 +01:00
Oliver Sartun
60ed5584cc Extended the documentation about how and when to use the merge function 2013-10-29 21:53:21 +01:00
Oliver Sartun
39ec25b4e4 Added documentation about the global functions of Backbone.UndoManager 2013-10-29 21:37:54 +01:00
Oliver Sartun
784d4d7388 Correcting the notion that the constructor would be Backbone.Undo 2013-10-29 21:28:43 +01:00
Oliver Sartun
ba634fe5a3 Removed unused reference to window and document 2013-10-28 12:05:35 +01:00
Oliver Sartun
02bba64eec Changed "lowdash.js" to "Lo-Dash.js" 2013-10-28 12:03:08 +01:00
Oliver Sartun
5e2462da25 Setting Versionnumber to 0.2
Major changes were added since the initial commit, partly even changes
that aren't backwards compatible. The version number should indicate
this progress.
2013-10-27 18:06:00 +01:00
Oliver Sartun
9fd66898fa Applied username change 2013-10-27 17:16:20 +01:00
Oliver Sartun
8a504fc4d7 Deleted minified version 2013-10-25 12:51:59 +02:00
Oliver Sartun
9122f8a867 Added section "Using the UndoTypes API per instance" 2013-10-24 20:17:35 +02:00
Oliver Sartun
2029406333 Removing the section on "Problems that may occur" 2013-10-24 20:05:09 +02:00
Oliver Sartun
84ea6d3603 Added the documentation for addUndoType, changeUndoType and removeUndoType 2013-10-24 20:01:06 +02:00
Oliver Sartun
c199856d24 Added a code example to the description of 'on' in the UndoTypes section 2013-10-24 19:12:38 +02:00
Oliver Sartun
0288f4569f Extended the description about UndoTypes 2013-10-24 19:05:51 +02:00
Oliver Sartun
cc62b47a9d Updated the documentation 2013-10-24 15:49:17 +02:00
Oliver Sartun
e629e5cb56 Removed the unregistration and new registration while merging undoManagers 2013-10-24 15:22:34 +02:00
Oliver Sartun
db4982299b Rewritten major parts of the description 2013-10-24 14:21:57 +02:00
Oliver Sartun
280681da4c Removed the only reference to jQuery, so, jQuery is no longer a dependency for Backbone.Undo.js 2013-10-24 13:59:52 +02:00
Oliver Sartun
7f3534ef6c Rewritten almost all unit tests to make use of the new ability to make synchronous calls 2013-10-24 12:02:00 +02:00
Oliver Sartun
ea15fe0f4c The merge function can now handle merge several undoManagers at once by passing several arguments or an array as the argument 2013-10-24 12:02:00 +02:00
Oliver Sartun
fc7d2bfa96 Rephrased comments 2013-10-24 12:02:00 +02:00
Oliver Sartun
1731e34928 The merge direction was changed: The stack-reference of the passed undoManagers is set to the stack of the undoManager the merge method is called on 2013-10-24 12:02:00 +02:00
Oliver Sartun
3ef848ac25 The merge method now makes use of the unregisterAll method 2013-10-24 12:02:00 +02:00
Oliver Sartun
8938a0dc84 The check if an object is registered now happens in the objectRegistry
register and unregister are returning true now, if they successfully
register resp. unregister an object
2013-10-24 12:02:00 +02:00
Oliver Sartun
6ec2869cc8 defaults function added for globally changing/setting the UndoManager's default values 2013-10-24 12:02:00 +02:00
Oliver Sartun
b01f919b9a Feature: You can register objects on instantiation now
No need for calling the register method afterwards anymore. Pass an
array or a single object
2013-10-24 12:02:00 +02:00