Commit Graph
11673 Commits
Author SHA1 Message Date
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
Roman Quiring 59dd256bf2 fixed definition of Vex.Flow.Formatter
- fixed arguments of FormatAndDraw
- fixed arguments of FormatAndDrawTab
2015-08-06 18:02:33 +02:00
Roman Quiring 66440e6fb3 fixed definition of Vex.Flow.TabStave 2015-08-06 18:00:10 +02:00
Roman Quiring bc8e29fcd0 fixed definition of Vex.Flow.Glyph
- fixed argument of setOptions()
2015-08-06 17:57:07 +02:00
Roman Quiring f6c8562355 changed definition of Vex.Flow.Volta
- changed type enum to const
2015-08-06 17:53:41 +02:00
Roman Quiring 25f06dbb00 fixed definition of Vex.Flow.Voice
- changed enum Mode to const
- fixed constructor arguments
2015-08-06 17:50:22 +02:00
Roman Quiring dcef9183ea changed definition of Vex.Flow.Tuplet
- changed LOCATION_TOP and LOCATION_BOTTOM from static to const
2015-08-06 17:47:30 +02:00
Roman Quiring 6970bb6f78 changed definition of Vex.Flow.Tuning
- added names constant
2015-08-06 17:44:46 +02:00
Roman Quiring 1365098304 changed definition of Vex.Flow.TimeSignature
- added constant glyphs
2015-08-06 17:40:50 +02:00
Roman Quiring b3f154c5c3 fixed definition of Vex.Flow.TextNote
- changed Justification enum to const
- added GLYPHS const
- fixed constructor arguments
2015-08-06 17:37:05 +02:00
Roman Quiring c377f8452f fixed definition of Vex.Flow.TextBracket
- changed Positions enum to const
- fixed setFont()
- fixed constructor argument
2015-08-06 17:27:50 +02:00
Roman Quiring 0cf5c33231 fixed definition of Vex.Flow.TabTie 2015-08-06 17:23:04 +02:00
Roman Quiring 8eb312c09a fixed definition of Vex.Flow.TabSlide
- changed constants SLIDE_UP and SLIDE_DOWN from static to const
- fixed constructor arguments
2015-08-06 17:20:53 +02:00