Commit Graph
11736 Commits
Author SHA1 Message Date
Daniel Rosenwasser 5d6c3bdb5d includeContext -> includeContent and fix overload signature ordering in 'gulp-sourcemaps'. 2015-08-07 17:35:54 -07:00
Daniel Rosenwasser 3e2ea701cd Fix test for 'hammerjs'. 2015-08-07 17:09:26 -07:00
Ilya Mochalov 1283eb7925 lodash: changed _.xor() method 2015-08-08 04:18:15 +05:00
Daniel Rosenwasser 6c2a9bd4a2 Use correct object in test for 'highcharts'. 2015-08-07 15:03:16 -07:00
Daniel Rosenwasser dd12455c4a backgound -> background in 'highcharts'. 2015-08-07 14:57:38 -07: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
Daniel Rosenwasser c6fed019e8 Correct test for 'ReferenceOptions' object in 'joi'. 2015-08-06 17:32:00 -07:00
Daniel Rosenwasser b1578458f4 Correct option type in 'jqrangeslider'. 2015-08-06 17:27:30 -07:00
Daniel Rosenwasser 4c2711f4cf Make 'ajaxUrl' non-optional in 'jquery-jsonrpcclient'. 2015-08-06 17:20:02 -07:00
Daniel Rosenwasser 74528bc334 Used correct types from websocket callbacks in 'jquery-jsonrpcclient'. 2015-08-06 16:55:37 -07:00
Daniel Rosenwasser e5a57c9bbb sockerUrl -> socketUrl in 'jquery-jsonrpcclient'. 2015-08-06 16:51:57 -07:00
Daniel Rosenwasser 5ed654f9b8 Added 'group' to options for 'jquery-sortable'.
Should follow up with https://github.com/johnny/jquery-sortable/issues/187
2015-08-06 16:40:44 -07: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
Daniel Rosenwasser 9916c6f043 Fix overload order for 'jquery-sortable'. 2015-08-06 16:00:11 -07:00
Daniel Rosenwasser fc0f0afd0a Added missing properties for 'jquery.timepicker'. 2015-08-06 15:57:06 -07:00
Daniel Rosenwasser 23d1273719 Use JSDoc comments. 2015-08-06 15:28:38 -07:00
Daniel Rosenwasser 71738c9b95 Fix overload order for 'jquery.timepicker'. 2015-08-06 15:18:52 -07:00
Daniel Rosenwasser 55ebb8625a Fix overload order for 'jquery.colorpicker'. 2015-08-06 15:17:55 -07: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