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
FredrikBorgstrom
2c2a82beb3
applyBindings: made the viewmodel optional
...
In order to use it for binding custom components, you can use appyBindings() without any arguments.
2014-10-30 01:01:28 +01:00
Masahiro Wakame
466f609e52
Merge pull request #3000 from SergioMorchon/patch-3
...
Fix applyBindingsToNode signature.
2014-10-21 11:39:16 +09:00
Sergio
fcd45872fa
Fix applyBindingsToNode signature.
...
From the sourcecode at https://github.com/knockout/knockout/blob/master/src/binding/bindingAttributeSyntax.js
2014-10-20 16:01:12 +02:00
Sergio
3339edcc3d
Preprocess option to Knockout binding's syntax
...
From the oficial documentation: http://knockoutjs.com/documentation/binding-preprocessing.html
2014-10-20 14:58:22 +02:00
John Reilly
94f5688907
Knockout: Fixed tests
2014-10-16 11:37:53 +01:00
John Reilly
1b04524e2e
Knockout: Remove invalid overload
2014-10-16 11:27:05 +01:00
Igor Oleinikov
64efb5abef
Revert commits to knockout made by EWOUT-QMINO\Ewout.
2014-10-08 19:52:49 -07:00
EWOUT-QMINO\Ewout
bf9a691038
Added overload and test for default subscribe
2014-10-08 16:39:13 +02:00
EWOUT-QMINO\Ewout
3b2aa1c713
Added to test_observableArrays() to include change and beforeChange event subscriptions.
2014-10-08 16:35:16 +02:00
EWOUT-QMINO\Ewout
3056dd7fb8
Changed overrides in KnockoutObservableArray
2014-10-08 10:47:15 +02:00
EWOUT-QMINO\Ewout
4b4d78850f
Refactored the properties of KnockoutObservable<T> into a seperate interface. This way KnockoutObservableArray doesn't extend KnockoutObservable anymore, making it possible to override methods according to the knockoutjs syntax (including Array Change subscription support).
2014-10-08 10:29:07 +02:00
EWOUT-QMINO\Ewout
67c09d58fc
Removed subscribe signatures in extending interfaces of subscribable. Changed signature of KnockoutSubscribable to have any parameter in subscribe callback.
2014-10-07 15:41:10 +02:00
EWOUT-QMINO\Ewout
9588d161e4
Changed heading from:
...
// Type definitions for Knockout v3.2.0-beta
to:
// Type definitions for Knockout v3.2.0
2014-10-07 13:41:48 +02:00
EWOUT-QMINO\Ewout
9967239f2a
Added support for Array Change subscriptions. Added tests to the test_observableArrays() in knockout-tests.ts.
2014-10-07 12:20:56 +02:00
Igor Oleinikov
eef872b96a
Merge pull request #2745 from conficient/master
...
Valerie: added new interfaces; Knockout: fixed .register overloads
2014-09-26 15:03:13 -07:00
Sergio
2063e5067d
Added textInput binding handler
...
From here: http://knockoutjs.com/documentation/textinput-binding.html
2014-09-19 10:01:01 +02:00
Masahiro Wakame
5eafc76cf0
Merge pull request #2770 from kimbirkelund/master
...
Fixed definition of KnockoutComputedContext.isInitial: should be function
2014-09-05 11:37:15 +09:00
Kim Birkelund
0f047f851f
Fixed definition of KnockoutComputedContext.isInitial: should be () => boolean, was boolean.
2014-09-03 12:30:12 +02:00
Mohamed Hegazy
2aaa293cb1
Remove quotes from response files
2014-09-02 14:53:39 -07:00
HowardRichards
2b4eb035ff
Knockout: amended components.register to overloads supported by 3.2
...
KO Version 3.2 added components. The .register method in the current
code is incorrect and does not support the correct overloads permitted.
2014-08-29 14:02:20 +01:00
Masahiro Wakame
d186e4bebf
Merge pull request #2705 from chriscamicas/Knockout-3.2
...
Knockout 3.2 fix for ko.components
2014-08-23 15:26:44 +09:00
chriscamicas
6b2b14b81d
remove trailing space
2014-08-22 11:37:42 +02:00
chriscamicas
de1c0be350
Knockout 3.2 fix for ko.components
...
According to the documentation ko.components is missing
http://knockoutjs.com/documentation/component-registration.html
2014-08-22 11:36:02 +02:00