Commit Graph
36 Commits
Author SHA1 Message Date
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
vvakame 78d2f1ca92 update CONTRIBUTORS.md 2016-03-19 20:16:07 +09:00
vvakame 14fe4313f4 replace internal module to namespace 2016-03-17 02:18:10 +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
Igor Oleinikov 5de63fd3d8 Merge pull request #3770 from conficient/master
Refactored knockout components
2015-03-12 12:34:15 -07: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 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
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
John Reilly 94f5688907 Knockout: Fixed tests 2014-10-16 11:37:53 +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 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
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 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
bolkhovsky d1db936207 extend tests for KnockoutAllBindingsAccessor 2014-06-24 00:32:47 +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
Diullei Gomes 89388cefaa fix knockout-tests.ts 2014-02-26 02:14:02 -03: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
vvakame 2708bc05cd Fixed tsc failed on Node.js v0.8.25 2013-10-03 11:23:38 +09:00
vvakame 3fe1f6bc4e Fixed to CI test passing 2013-10-03 10:18:58 +09:00
Neil Stalker f1a37d4cfa Fix knockout tests 2013-09-01 11:03:07 +01:00
Nicholas Wolverson 92011c1772 Fix Knockout tests for 0.9/generics
Allows ko.observable()
2013-06-19 13:32:56 +01:00
Boris Yankov 3f0b158c4c Fix several tests 2013-05-25 18:27:49 +03:00
Diullei Gomes 51bbb57e1d adjusted knockout typings; added 'templating' tests; the test file structure was refactored; #312 2013-02-22 12:22:46 -03:00