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
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
fszlin
9456f1c5c1
Add definition for parseObjectLiteral.
2014-08-20 10:21:34 -04:00
WojciechKrysiak
0e86e57b23
Update knockout.d.ts
...
According to the documents $index is an observable.
2014-08-20 09:52:46 +02:00
Masahiro Wakame
20e2817102
Merge pull request #2393 from bolhovsky/custom-bindings
...
Extend custom bindings API definition
2014-07-10 14:38:02 +09:00
Igor Oleinikov
416505eb3e
Fixed tests/knockout-templatingBehaviors-tests.ts.
2014-06-28 19:57:23 +04:00
Igor Oleinikov
3f015d97e1
Fixed ko.bindingProvider.
2014-06-28 19:49:55 +04:00
Igor Oleinikov
e001f7dd6e
Version bump to 3.2.0-beta.
2014-06-28 19:40:45 +04:00
Igor Oleinikov
73778d52f7
Added KnockoutTemplateAnonymous, fixed ko.templateSources.domElement.
2014-06-28 19:20:44 +04:00
Igor Oleinikov
d72558d159
Removed ko.bindingProvider.getBindingsString.
2014-06-28 19:06:51 +04:00
Igor Oleinikov
7b4b881fbc
Added ko.component
...
KnockoutComponents: register, isRegistered, unregister;
KnockoutComponentDefinition: template, createViewModel;
KnockoutComponentLoader: loadTemplate, loadViewModel;
KnockoutComponentConfig: template, createViewModel.
2014-06-28 18:55:04 +04:00
Igor Oleinikov
c181fd9309
Added KnockoutBindingProvider, KnockoutComponents, KnockoutComponentLoader.
...
Added stubs for KnockoutComponentDefinition, KnockoutComponentConfig.
2014-06-28 17:56:50 +04:00
Igor Oleinikov
b753ba68cc
Added trackArrayChanges extender, ko.getBindingHandler, ko.applyBindingAccessorsToNode.
2014-06-28 17:37:29 +04:00
Igor Oleinikov
2b88f1cf8b
Added rateLimit extender.
2014-06-28 14:47:31 +04:00
Igor Oleinikov
bb2432ce69
Added ko.computedContext, ko.pureComputed.
2014-06-28 14:18:59 +04:00
bolkhovsky
d1db936207
extend tests for KnockoutAllBindingsAccessor
2014-06-24 00:32:47 +04:00
bolkhovsky
361ce9e2f3
change interface name to historical (4 days earlier) version
2014-06-24 00:28:16 +04:00
bolkhovsky
ac04322281
fix merge conflicts
2014-06-24 00:19:26 +04:00
maboivin
6fbd241926
Added a test for the allBindingsAccessor parameter in the KnockoutBindingHandler interface to support the get method.
2014-06-23 13:16:58 -04:00
bolkhovsky
e7a6ee50c2
fix definition to support dynamic binding property access
2014-06-23 17:47:43 +04:00
bolkhovsky
1dd12f188e
add KnockoutBindingAccessor interface to extend custom bindings API definition
2014-06-23 17:17:08 +04:00
Marc-André Boivin
68fae9d85d
Update knockout.d.ts
...
Updated the allBindingsAccessor parameter in the KnockoutBindingHandler interface to support the get method.
2014-06-19 10:05:21 -04:00
Fredrik Holmqvist
1c50915a79
Fixed stringTokenize return type
...
The util function stringTokenize returns an string array according to the knockout source
2014-05-22 11:49:28 +02:00
Brian Dukes
b500036887
Use base type in ko.virtualElements interface
...
The knockout `virtualElements` API accepts all types of DOM nodes, not just HTML elements.
For example, I was trying to insert a text node (from `document.createTextNode`), and it was seen as invalid.
2014-04-11 10:43:57 -05:00
Masahiro Wakame
a537120bf8
Merge pull request #1743 from SomaticIT/fix-ko
...
Fix knockout ko.utils.stringifyJson definition
2014-03-07 20:23:51 +09:00
Diullei Gomes
89388cefaa
fix knockout-tests.ts
2014-02-26 02:14:02 -03:00
SomaticIT
a8ad85fec1
Fix knockout ko.utils.stringifyJson definition
2014-02-25 22:35:36 +01:00
Masahiro Wakame
e809ab4ef4
knockout.amd.d.ts has become redundant refs #1438
2013-12-24 11:06:26 +09:00
Masahiro Wakame
f6a49f9442
Merge branch 'master' into switch-0.9.5
...
Conflicts:
ember/ember.d.ts
2013-12-18 12:30:03 +09:00
Thomas Butler
cbc8adfb1e
removed duplicate identifier 'update'
2013-12-13 07:25:35 -05:00
Thomas Butler
e61f72fd71
removed access of non-existant property
2013-12-13 07:24:45 -05:00
Thomas Butler
18beeab5e2
changed [illegal] variant type usage to a prefered static typing
2013-12-13 07:20:48 -05:00
vvakame
8a26b64446
Merge branch 'master' into switch-0.9.5
2013-12-08 00:20:07 +09:00
Thomas Butler
b26095e9fa
Fixed KnockoutComputed polymorphism
...
Changed KnockoutComputed to inherit KnockoutObservable to enable
polymorphic/covariant reference conversion (see included unit test for
example).
2013-12-06 06:10:12 -05:00
Igor Oleinikov
ad647a0115
knockout: fixed tests/knockout-tests.ts to align with TS 0.9.5
2013-12-06 14:40:58 +04:00
Jeffery Grajkowski
798dbfbf8f
Converting ungeneric "Array" to "any[]"
...
TypeScript 0.9.5 beta does not allow generic type references without the type argument. This code will still compile for 0.9.1 users. Flight and Ember have further compile problems in 0.9.5 that I don't feel qualified to address as I'm not versed in those libraries.
2013-11-26 10:29:46 -08:00
Masahiro Wakame
1b28c3344b
Removed not required .tscparams
2013-11-19 13:56:28 +09:00
Daniel Ferreira Monteiro Alves
56399e9b53
Merge branch 'master' of https://github.com/borisyankov/DefinitelyTyped
2013-11-18 02:28:05 -02:00
mihailik
b282b5a78a
Fix when compiling with the latest TypeScript (develop branch)
...
Latest TypeScript complains about Array type used without a generic parameter.
I suggest replacing Array with any[], which works for both old and new TypeScript versions.
knockout.d.ts(171,47): ↵
error TS2173: Generic type references must include all type arguments. ↵
knockout.d.ts(172,76): error TS2173: Generic type references must include all type arguments. ↵
knockout.d.ts(200,36): error TS2173: Generic type references must include all type arguments. ↵
knockout.d.ts(202,36): error TS2173: Generic type references must include all type arguments. ↵
knockout.d.ts(204,38): error TS2173: Generic type references must include all type arguments. ↵
knockout.d.ts(363,110): error TS2173: Generic type references must include all type arguments. ↵
knockout.d.ts(489,71): error TS2173: Generic type references must include all type arguments. ↵
knockout.d.ts(490,66): error TS2173: Generic type references must include all type arguments. ↵
knockout.d.ts(491,90): error TS2173: Generic type references must include all type arguments. ↵
knockout.d.ts(492,85): error TS2173: Generic type references must include all type arguments. ↵
2013-11-16 11:11:55 +00:00
Daniel Ferreira Monteiro Alves
d9c1467ee5
Parameter dependency made soft on knockout
2013-11-16 01:08:39 -02:00
John Reilly
216d626ac6
Knockout: made sort generic
2013-11-12 15:50:44 +00:00
John Reilly
f87f7ed0fa
Knockout: Made arrayIndexOf generic
2013-11-11 16:12:55 +00:00
John Reilly
a5c43a43fb
Knockout: removed implicit any from knockout.amd.ts
2013-11-07 14:38:49 +00:00
John Reilly
af41ded271
Knockout: dateItemAlias is optional
2013-11-07 12:16:09 +00:00
John Reilly
48986647b4
Knockout:Dealt with implicit any in knockout.d.ts
...
There are probably still more overloads required for renderTemplate and
renderTemplateForEach as these methods do a lot of different things and
allow many possibilites in terms of types of arguments to be passed.
2013-11-07 11:57:38 +00:00
basarat
7e81971a23
Merge pull request #1226 from johnnyreilly/master
...
Knockout:Removed non-generic overloads from utils / Globalize: reduced implicit anys
2013-11-05 16:05:38 -08:00