Commit Graph

18 Commits

Author SHA1 Message Date
samael
d26e41e78c update 2.3.5 2016-06-28 08:36:42 +08:00
samael
845d5cfc12 Merge branch 'master' of github.com:DefinitelyTyped/DefinitelyTyped
# By Ilya Mochalov (82) and others
# Via Masahiro Wakame (803) and others
* 'master' of github.com:DefinitelyTyped/DefinitelyTyped: (3036 commits)
  Update authors as per @mtraynham request
  Partial revert of 1f3e28f - remove duplicate svgRendering identifier
  Revert "Add NavbarHeader to react-bootstrap"
  added in custom error classes
  removed duplicate element "require"
  Split into different folders
  Add more definitions based on documentation.
  Removed implicit any types
  Updated IDialogOptions to include contentElement property for prerendered dialogs. Updated IPromptDialog to add initialValue method. Adding missing semicolon to IPanelConfig.
  Fixed paths in v1 files
  Create a copy of the old v1 files
  Updated IDialogOptions to include contentElement property for prerendered dialogs. Updated IPromptDialog to add initialValue method. Adding missing semicolon to IPanelConfig.
  Added interfaces for Angular Material $mdPanel service, MdPanelPosition type, and MdPanelAnimation type as part of release 1.1.0-rc.5 (2016-06-03). Updated IDialogService show method to include previously added IPromptDialog.
  changed serializers as per package author
  Fix ua-parser-js definitions. Fix code style.
  Improved testing and add property "context" in OptionsObj
  Fix type for Lovefield RawForeignKeySpec object
  Fix ua-parser-js definitions.
  Fix ua-parser-js definitions.
  Update atmosphere.d.ts
  ...

Conflicts:
	state-machine/state-machine.d.ts
2016-06-28 08:27:41 +08:00
vvakame
56295f5058 replace https://github.com/borisyankov/DefinitelyTyped to https://github.com/DefinitelyTyped/DefinitelyTyped 2016-03-17 00:55:26 +09:00
vvakame
4de74cb527 normalize line ending (CRLF -> LF) 2016-02-16 01:20:30 +09:00
samael
e348fb97b5 Update state-machine.d.ts
Update to 2.3.5
2015-12-14 17:20:49 +08:00
Tim Haase
e088fd2475 Fix module export in state-machine typing 2015-11-30 21:48:04 +01:00
Bart van der Schoor
1d345f6c14 cleaned-up headers 2014-06-18 23:31:11 +02:00
György Balássy
7078d20cc2 Support AMD
Added an export module, because the original state-machine.js supports AMD, which feature was not available from TypeScript before this patch.
2014-03-02 10:45:33 +01:00
Bartvds
709a0363a0 added/fixed headers o-s
https://github.com/borisyankov/DefinitelyTyped/issues/1570
2014-01-24 01:56:27 +01:00
György Balássy
a0a77855ec Support multiple 'from' states
According to https://github.com/jakesgordon/javascript-state-machine:
"If an event is allowed from multiple states, and always transitions to the same state, then simply provide an array of states in the from attribute of an event."

So the from property can be of type string or string[], so "any" is required here.
2014-01-17 12:45:01 +01:00
Igor Oleinikov
b719b30c23 state-machine: align tests with TS 0.9.5 2013-12-06 23:02:55 +04:00
Boris Yankov
dd35f69637 Big replacement: bool with boolean 2013-08-07 16:59:39 +03:00
unknown
472995d0c8 More type safety for transitions plus updates to support events. 2013-01-25 08:36:31 -08:00
Boris Yankov
9353d8e997 Merge branch 'master' of https://github.com/mdocter/DefinitelyTyped into mdocter-master 2013-01-24 06:20:04 +02:00
Maarten Docter
bb2198f4d8 Added missing ASYNC stuff + some bug fixes
Added all stuff required to use the ASYNC features of StateMachine and
refined some other modelled functions / properties.

Also removed:
-    onbeforeevent: EventCallback;
-    onleaveevent: EventCallback;
-    onenterevent: EventCallback;
-    onafterevent: EventCallback;

and the EventCallback interface.

StateMachine dynamically adds event functions depending on the config
being used. These can't be modelled in this file. The four event
callbacks from above could wrongly suggest that these event callbacks
are present on the returned StateMachine instance.

Also noticed a bug in the StateMachine code. The StateMachine is wrongly
using the StateMachine.Result constants. The author forgot the add the
Result property to the code, so he's now returning
StateMachine.SUCCEEDED instead of StateMachine.Result.SUCCEEDED. I will
create a pull-request to fix this issue.
2013-01-22 11:02:16 +01:00
Boris Yankov
209d95071a Update reference paths 2013-01-17 20:03:30 +02:00
Boris Yankov
c98eebb137 Rename all definition files, remove versions 2013-01-17 17:17:27 +02:00
Boris Yankov
ecec763914 Add State Machine definitions and tests 2013-01-09 13:29:39 +02:00