Manuel Schweigert
1a3b6bdf54
Fix build error
2016-05-12 15:09:47 +02:00
Manuel Schweigert
5d0618b145
Add expressionRewriting members
...
These members are needed to create custom two-way bindings.
2016-05-12 14:58:31 +02:00
Matt Brooks
864787b164
Add support for ko.tasks API in Knockout.js v3.4.0
...
Add support for Knockout’s microtask queue. Knockout’s microtask queue
supports scheduling tasks to run as soon as possible while still being
asynchronous, striving to schedule them to occur before yielding for
I/O, reflow, or redrawing.
2016-04-28 17:28:40 +01:00
Vyacheslav Pritykin
ad2462a2ee
New options have been added
2016-04-09 14:21:58 +03:00
Chris Long
09ac2c31e2
User defined type guards in Knockout
2016-04-06 20:55:03 +09:00
vvakame
78d2f1ca92
update CONTRIBUTORS.md
2016-03-19 20:16:07 +09:00
vvakame
7de6c3dd94
Merge branch 'master' into rename-repo-url
2016-03-17 21:06:54 +09:00
vvakame
14fe4313f4
replace internal module to namespace
2016-03-17 02:18:10 +09: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
Tanguy Krotoff
d2dd0dbfc7
Improve jasmine.d.ts
...
- Remove toContainHtml() and toContainText(): they are not part of Jasmine API
- Avoid the use of any for toMatch(), toBeLessThan(), toBeGreaterThan(), toBeCloseTo() and toThrowError()
2015-12-18 05:09:35 +01:00
Masahiro Wakame
1256c09f65
Merge pull request #7043 from brnls/observable-array-fix
...
Knockout fix Observable Array sort/reverse return type
2015-12-10 21:06:32 +09:00
Jacob Poul Richardt
1c5eb02444
Added missing viewModel property to ComponentConfig.
2015-12-09 14:09:09 +01:00
brnls
06509c8249
Fix Observable Array sort/reverse return type
2015-12-03 09:19:21 -08:00
Igor Oleinikov
4f7b7e01d3
Merge pull request #6219 from ibrahimuludag/patch-2
...
Update knockout.d.ts
2015-11-12 14:10:44 -08:00
Clément Bourgeois
de3b92a51f
Knockout KnockoutUtils cleanup.
...
Over the time bindings over properties not exposed inside minified versions
of knockout have made their way into the definitions.
2015-10-12 23:29:34 +02:00
Masahiro Wakame
8872d98f39
Merge pull request #6178 from abbasmhd/master
...
Update Knockout.d.ts
2015-10-13 00:29:18 +09:00
ibrahimuludag
16d09d28c0
Update knockout.d.ts
...
Added after? option to KnockoutBindingHandler
2015-10-09 14:58:12 +03:00
Moes
215df3cd35
Update Knockout.d.ts
...
update `objectForEach` to include key value
add `addOrRemoveItem`
consolidate `arrayPushAll` into one line using the `|` operator
enabling `setTextContent` IT's PART OF THE MINIFIED API SURFACE https://github.com/knockout/knockout/blob/master/src/utils.js#L599
2015-10-08 15:04:28 +10:00
Moes
fd7aa0a879
Update Knockout.d.ts
...
add `objectForEach` and `setPrototypeOf` to `KnockoutUtils` interface
2015-10-07 14:26:14 +10:00
Boris Yankov
70b40db9e0
Merge pull request #6165 from EnableSoftware/add-knockout-fn
...
Knockout custom functions
2015-10-06 22:26:35 +03:00
Neil Culver
994fdb216a
Support for custom functions when using no implicit any.
2015-10-06 14:48:17 +01:00
Blake Doss
ba3c1953cb
arrayForEach method also passes index to callback.
2015-10-03 11:20:41 -04:00
vvakame
9bffb08e1b
fix knockout/knockoutamd-tests.ts
2015-08-29 00:36:20 +09:00
Masahiro Wakame
25120f9bc9
Merge pull request #4317 from SergioMorchon/patch-3
...
Knockout uses Nodes, not Elements
2015-05-14 23:34:34 +09:00
Sergio Morchón Poveda
d1497a885a
New Synchronous Asynchronous-loading option
...
More details: http://knockoutjs.com/documentation/component-registration.html#controlling-synchronousasynchronous-loading
2015-05-11 16:59:39 +02:00
Sergio Morchón Poveda
28ad1db4bf
Knockout uses Nodes, not Elements
...
Less restrictive API: knockout uses nodes, not elements.
2015-05-11 10:02:25 +02:00
Thomas Michon
73fc8ea383
Remove emptyDomNode, which is not public in Knockout
2015-05-07 09:01:04 -07:00
Sergio Morchón Poveda
da74caeab8
Update knockout.d.ts
...
Optional viewmodel on component registration
2015-03-24 17:42:07 +01:00
Masahiro Wakame
f9643931ee
Merge pull request #3921 from SergioMorchon/patch-2
...
Update KnockoutBindingHandler
2015-03-25 00:02:58 +09:00
Sergio Morchón Poveda
8252b3e6a6
Update KnockoutBindingHandler
...
``` init ``` & ``` update ``` with optional arguments. This makes sense if you want to call a binding from your code without passing all the parameters, when it is really optional.
2015-03-20 13:24:34 +01:00
Sergio Morchón Poveda
effae55ed2
Knockout 3.3 - Components
...
Added $component and $componentTemplateNodes binding context properties (see http://knockoutjs.com/documentation/binding-context.html ).
Added ComponentInfo.templateNodes.
2015-03-20 13:19:28 +01:00
AdvancedREI
c281cd0dc4
Knockout: KnockoutStatic var fix
...
Move KnockoutStatic variable declaration to fix TS1.4 + Resharper 9.1
EAP 6
2015-03-14 09:05:52 -07:00
Igor Oleinikov
5de63fd3d8
Merge pull request #3770 from conficient/master
...
Refactored knockout components
2015-03-12 12:34:15 -07:00
Masahiro Wakame
c78d60495f
Merge pull request #3742 from SergioMorchon/patch-5
...
Update knockout.d.ts
2015-03-02 23:49:58 +09:00
HowardRichards
4db25cf3f1
Refactored knockout components
...
Previous Knockout component registration code was complicate since union
types did not exist in TypeScript. The knockout.d.ts file has already
had changes for union types added, so I have refactored my original
changes to component.register to use this.
Revert "Refactored knockout.register for union types"
This reverts
commit 920b8d64621f249331f2a17123148c446c212d32.
Refactored knockout.register for union types
Removed number of
interfaces for ko.register methods and simplified
using union types for
clarity. Refactored component types into a
namespace to reduce namespace
pollution
2015-03-02 12:21:01 +00:00
Sergio Morchón Poveda
cd2cc17194
Update knockout.d.ts
...
Fixed init & update signature.
2015-02-25 14:10:52 +01:00
Sergio Morchón Poveda
65e48513de
Update knockout.d.ts
...
Delete extra comma...
2015-02-25 14:09:05 +01:00
Sergio Morchón Poveda
88a708f71a
Update knockout.d.ts
...
Added KnockoutBindingHandler.init alternative return type.
2015-02-25 13:57:32 +01:00
Sergio Morchón Poveda
a3aa65cfd9
Update knockout-tests.ts
...
Added a different versión of init, which returns an object instead of void.
2015-02-25 13:48:14 +01:00
Masahiro Wakame
ccc35018d8
Merge pull request #3726 from SergioMorchon/patch-2
...
Update knockout.d.ts
2015-02-25 01:11:34 +09:00
Sergio Morchón Poveda
8b558e1f0a
Update knockout.d.ts
...
As of:
``` javascript
self['$rawData'] = dataItemOrObservable;
```
at https://github.com/knockout/knockout/blob/master/src/binding/bindingAttributeSyntax.js
2015-02-24 09:58:08 +01:00
Ryan Posener
54b9367280
Update KnockoutArrayChange
...
Add Missing optional moved property to KnockoutArrayChange
2015-02-20 12:19:29 -05:00
Kenta Suzuki
7d12983640
fix return type of stringStartsWith
2015-02-17 19:36:06 +09:00
Sergio Morchón Poveda
e77ce2d307
Update knockout.d.ts
2015-02-16 11:14:01 +01:00
Daniel Earwicker
458c047f7e
ko.utils.unwrapObservable uses union types
2015-01-20 21:59:36 +00:00
Daniel Earwicker
3497b7ecd3
ko.unwrap uses union types
2015-01-20 21:47:29 +00:00
Jacob Poul Richardt
a765925da0
Added case for registering a custom component with an empty config for custom elements, where loading is handled by name convention
2014-11-20 16:35:35 +01:00
Nicolas Mehlei
f2623b8f6c
fixed two incorrect parameter names
...
for ko.applyBindings and ko.applyBindingsToDescendants
2014-11-14 18:12:58 +01:00
Clément Bourgeois
e0ffa8d04d
Missing function declaration for knockout.
...
The destroy(function() {...}) was missing inside knockout declarations.
2014-11-06 18:19:39 +01:00