Commit Graph
11534 Commits
Author SHA1 Message Date
Masahiro Wakame 7ccb1759f9 Merge pull request #5131 from benishouga/add-react-svg
React: Added attributes 'width' and 'height' to SVGAttributes for Rect.
2015-08-08 14:33:35 +09:00
Masahiro Wakame ca877eaa36 Merge pull request #5231 from chrootsu/lodash-spread
lodash: added _.spread() method
2015-08-08 14:29:16 +09:00
Masahiro Wakame 0239f0672c Merge pull request #5229 from chrootsu/lodash-rearg
lodash: added _.rearg() method
2015-08-08 14:26:58 +09:00
Masahiro Wakame 1c7fc3732b Merge pull request #5227 from stpettersens/master
Type definitions and tests for snake-case
2015-08-08 14:22:38 +09:00
Masahiro Wakame 36db9a2d50 Merge pull request #5225 from davidparsson/master
Add test for Jasmine's jasmine.clock().mockDate(baseTime)
2015-08-08 14:21:49 +09:00
Masahiro Wakame 0382ba8a31 Merge pull request #5223 from devnought/master
Converted imports to ES6 module syntax
2015-08-08 14:19:23 +09:00
Masahiro Wakame 5b4506b640 Merge pull request #5222 from joeskeen/gulp-load-plugins
definitions for gulp-load-plugins
2015-08-08 14:17:16 +09:00
vvakame 06f57b4555 Merge branch 'laurence-myers-master' 2015-08-08 14:12:32 +09:00
vvakame 17759c3dfd Merge branch 'master' of https://github.com/laurence-myers/DefinitelyTyped into laurence-myers-master 2015-08-08 14:09:56 +09:00
Masahiro Wakame b9730dd578 Merge pull request #4521 from nickplee/master
Added IP and Hostname validators to Joi.d.ts
2015-08-08 14:02:49 +09:00
Masahiro Wakame 0041950b65 Merge pull request #4374 from nickplee/patch-1
Added an interface for the object returned during synchronous validat…
2015-08-08 13:59:28 +09:00
Masahiro Wakame c7253f4a93 Merge pull request #5133 from maglar0/master
React: Support for defaultValue in HTMLAttributes
2015-08-08 13:54:45 +09:00
Masahiro Wakame c1ea194664 Merge pull request #5201 from use-strict/react-context-any
react - Replaced context any with {} for type safety.
2015-08-08 13:53:54 +09:00
Masahiro Wakame c697b13c41 Merge pull request #5217 from danilofaria/master
Ui-grid improvements
2015-08-08 13:50:10 +09:00
Masahiro Wakame 9ffa03f181 Merge pull request #5213 from apare/patch-1
Invalid partition return type in chain
2015-08-08 13:42:17 +09:00
Masahiro Wakame b86639edaa Merge pull request #5203 from chrilith/master
Fixed #3728: Modernizr Prefixed definition returns boolean
2015-08-08 13:40:18 +09:00
Masahiro Wakame 187a6b54d5 Merge pull request #5210 from manekovskiy/patch-1
Added missing CodeMirror.Doc method - listSelections
2015-08-08 13:39:09 +09:00
Masataka Kuwabara 23a854fc0e Update vue.d.ts 2015-08-08 12:59:50 +09:00
rhysd 3c596c097d Add GitHubElectron.App.getAppPath()
Electron v0.30.0 introduced it.

https://github.com/atom/electron/releases/tag/v0.30.0
2015-08-08 12:09:43 +09:00
Ilya Mochalov 1283eb7925 lodash: changed _.xor() method 2015-08-08 04:18:15 +05:00
Ilya Mochalov 6df9b38f97 lodash: changed _.memoize() method 2015-08-08 02:08:12 +05:00
Ilya Mochalov 1e97f548e3 lodash: added _.rearg() method 2015-08-07 23:38:16 +05:00
Ilya Mochalov 7d288c8740 lodash: added _.spread() method 2015-08-07 23:37:46 +05:00
Ilya Mochalov f4efff6f49 lodash: changed _.once() method 2015-08-07 23:37:12 +05:00
Ilya Mochalov fcc892bba5 angularjs: changed $q.all() (added a type variable and tests) 2015-08-07 23:36:27 +05:00
Jeremy Elbourn a95ee80de0 Update angular2 d.ts to alpha34 2015-08-07 10:13:22 -07:00
Deryl Rodrigues bfa960ba20 Changed the value type to any in order to support Nested Objects 2015-08-07 11:35:31 -04:00
Adam Santaniello 5ecb525381 Updated to 4-space indentation per contribution guidelines 2015-08-07 11:17:18 -04:00
Adam Santaniello 1fa1d659c7 Changed tabs to spaces 2015-08-07 11:08:42 -04:00
Adam Santaniello 8aeb330d26 Fixed tabbing issues. 2015-08-07 11:02:31 -04:00
Adam Santaniello 62000d5e40 Added angular-signalr-hub definition and test. 2015-08-07 10:21:27 -04:00
Allan Hvam Petersen 6ca9fa0d5e Removed TaxonomySession.getTerms(string, boolean)
There is no overload for getTerms on TaxonomySession that takes string
and boolean.

There is only a function that takes match information, see:

https://msdn.microsoft.com/en-us/library/office/dn312597.aspx
2015-08-07 12:35:54 +02:00
Stefan Profanter 98105f1e61 Changed BoundingBoxHelper constructor 2015-08-07 09:23:58 +02:00
John Reilly 284c2b8828 Merge pull request #5226 from baltie/highcharts-fixes
Highcharts fixes
2015-08-07 06:51:17 +01:00
Eric Pelz 5dafa21e89 Add the TestBackend module to React DnD
This allows unit testing with React DnD.
2015-08-06 16:17:12 -07:00
Matthias Hild 00c2478e98 Transition.styleTween has incorrect signature
The signature of Transition.styleTween is currently:

styleTween(name: string, tween: (datum: Datum, index: number, attr: string) => Primitive, priority?: string): Transition<Datum>; (line 833)

Note that the tween is said to return a Primitive. This seems incorrect, both in terms of D3 intent and implementation.

The *correct* version appears to be:

styleTween(name: string, tween: (datum: Datum, index: number, attr: string) => (t: number) => Primitive, priority?: string): Transition<Datum>;

(This is similar to  similar to Transition.attrTween.)

First, the documentation states:

>>> The return value of tween must be an interpolator: a function that maps a parametric value t in the domain [0,1] 
>>>  to a color, number or arbitrary value.

Second, the source code of d3 3.5.5 has:

d3_transitionPrototype.styleTween = function(name, tween, priority) {
    if (arguments.length < 3) priority = "";
    function styleTween(d, i) {
      var f = tween.call(this, d, i, d3_window(this).getComputedStyle(this, null).getPropertyValue(name));
      return f && function(t) {
        this.style.setProperty(name, f(t), priority);
      };
    }
    return this.tween("style." + name, styleTween);
  };

Note the line "this.style.setProperty(name, f(t), priority);" where the result f of applying the tween is passed a parameter t. 

The only point of discussion might be the type of the return value of the tween's interpolator output. Is it Primitive or any? The documentation quoted above (incidentally the same for attrTween and styleTween) explicitly allows for an arbitrary value. I don't have enough D3 experience to know if this is a practically relevant possibility.

Many thanks for your great work on d3.d.ts!!! Especially the use of tweens and interpolators perfectly illustrates the benefits of Typescript.

Best wishes,

Matthias
2015-08-06 19:02:28 -04:00
Michael Nahkies c642fb841b Added definitions for amqplib (https://github.com/squaremo/amqp.node) 2015-08-07 09:51:39 +12:00
Dan Quirk b45569f35d Merge pull request #5233 from DanielRosenwasser/handleExtraObjectLiteralProperties
Handle extra object literal properties (Part II)
2015-08-06 13:37:36 -07:00
Michael Randolph b05ea8139c KaTeX definitions 2015-08-06 15:14:39 -04:00
Roman Quiring ab17e16853 fixed definition of Vex.Flow.Formatter
- fixed arguments of FormatAndDraw()
- fixed arguments of FormatAndDrawTab()
2015-08-06 19:04:38 +02:00
Roman Quiring b4b5855f86 added vexflow-tests.ts 2015-08-06 18:55:31 +02:00
Roman Quiring fea6bb785a fixed definition of Vex.Flow.TabNote 2015-08-06 18:49:37 +02:00
Roman Quiring b330fede59 fixed definition of Vex.Flow.TextBracket
- fixed argument of setFont()
2015-08-06 18:47:42 +02:00
Roman Quiring 77445160ad changed CATEGORY property of several classes from static to const 2015-08-06 18:19:54 +02:00
Roman Quiring f8fb63d8cc changed definition of Vex.Flow.Modifier
- changed Position enum to const
2015-08-06 18:15:50 +02:00
Roman Quiring af4b4626fa changed definition of Vex.Flow.Curve
- changed Position enum to const
2015-08-06 18:15:08 +02:00
Roman Quiring 73c7432489 changed Vex.Flow.Barline
- changed type enum to const
2015-08-06 18:14:24 +02:00
Roman Quiring f5ec5ac8f0 changed Vex.Flow.Annotation
- changed enums to const
2015-08-06 18:13:33 +02:00
Roman Quiring 727502c429 fixed definition of Vex.Flow.StaveNote
- changed STEM_UP and STEM_DOWN from static to const
- fixed constructor arguments
2015-08-06 18:10:46 +02:00
Roman Quiring 15ccac22d6 changed Vex.Flow.Tickable from class to interface
- added respective methods to Vex.Flow.Note
2015-08-06 18:07:13 +02:00