Commit Graph
7634 Commits
Author SHA1 Message Date
Tzvetan Mikov 99c8fe848d log4js: add missing Logger methods
Add Logger.isLevelEnabled(level) and Logger.isLEVELEnabled()
2014-12-31 13:31:53 -08:00
Masahiro Wakame 9872b853d6 Merge pull request #3391 from theodorejb/qunit-v1.16
Initial support for QUnit v1.16
2014-12-31 13:01:54 +09:00
Masahiro Wakame 6959dc430e Merge pull request #3384 from alphaleonis/marionette.2.3.0
Updated marionette.js to comply with version 2.3.0.
2014-12-31 09:58:13 +09:00
Masahiro Wakame cc9db8eb55 Merge pull request #3390 from BibbyChung/master
Updated xregexp.d.ts
2014-12-31 09:51:17 +09:00
Theodore Brown e0dac065a3 Initial support for QUnit v1.16 2014-12-29 23:24:55 -06:00
Bibby 1cef384b4f modified xregexp.d.ts
=======================================================
// Matchception: Finding matches within matches, while passing forward and
// returning specific backreferences
html = '<a href="http://xregexp.com/api/">XRegExp</a>' +
       '<a href="http://www.google.com/">Google</a>';
XRegExp.matchChain(html, [
  {regex: /<a href="([^"]+)">/i, backref: 1},
  {regex: XRegExp('(?i)^https?://(?<domain>[^/?#]+)'), backref: 'domain'}
]);
// -> ['xregexp.com', 'www.google.com']
2014-12-30 00:32:11 +08:00
Masahiro Wakame ca32947b75 Merge pull request #3388 from spicypixel/hotfix/executesql-error-callback
Fix executeSql errorCallback return type
2014-12-29 21:26:29 +09:00
Masahiro Wakame 22d6468955 Merge pull request #3389 from panuhorsmalahti/urlmatcherfactory
Add the type function to angular ui-router url matcher factory
2014-12-29 21:24:18 +09:00
Masahiro Wakame 0436817e4e Merge pull request #3385 from odangosan/milkcocoa
Add milkcocoa.d.ts and milkcocoa-tests.ts
2014-12-29 21:08:44 +09:00
Peter Palotas 73604e393a - Added some more missing type annotations. 2014-12-29 11:33:25 +01:00
Peter Palotas 02347482ba - Added a bunch of missing type annotations. 2014-12-29 11:29:36 +01:00
Peter Palotas a5366e6012 Changed declaration of Backbone.Router.routes. This is not neccessarily a function, but may also be a simple hash. 2014-12-29 11:13:58 +01:00
Peter Palotas 02e28cc4b2 Added more tests to Marionette.js 2014-12-29 11:10:56 +01:00
Panu Horsmalahti 9a4a67a24c Add the type function to angular ui-router url matcher factory 2014-12-29 11:23:25 +02:00
Aaron Oneal 6830f2b0c2 The executeSql errorCallback may optionally return a boolean value to indicate whether to continue executing statements (false) or to rollback the transaction (true or void). 2014-12-28 22:12:44 -08:00
Peter Palotas 6689de6b7f Removed property accessors from test-file since this wasn't liked by CI build. 2014-12-29 00:31:10 +01:00
Peter Palotas 99fcfbd221 Added missing method attachHtml to Region class.
Added initial tests.
2014-12-29 00:28:49 +01:00
Peter Palotas 6e46947d53 Added Marionette.Behavior and Marionette.Behaviors classes (new in Marionette 2.XX).
Modified ui property to not neccessarily be a function (it can also be a hash).
2014-12-28 23:54:57 +01:00
Peter Palotas 7b61a5d2f5 Added documentation to Marionette.Application.
Added documentation to Marionette functions.
Added some typings.
2014-12-28 22:46:00 +01:00
Peter Palotas 2875e9f1b7 Added documentation to Marionette.AppRouter. Also made option keys optional since they are not mandatory. 2014-12-28 22:30:56 +01:00
Peter Palotas ad8e1cc5d6 Added documentation to Marionette.LayoutView. 2014-12-28 22:24:56 +01:00
Peter Palotas b9f410e024 - Added documentation to Marionette.CompositeView.
- Added event callback definitions.
- Updated for Marionette 2.3.0.
2014-12-28 21:05:30 +01:00
Peter Palotas 6df70bcd91 - Added documentation to Marionette.CollectionView.
- Fixed many errors in the definition so that it now conforms to version 2.3.0 of Marionette.
2014-12-28 20:58:29 +01:00
Peter Palotas 34d86d59e6 - Added documentation to ItemView.
- Added onXXX declarations and documentation to View and ItemView.
2014-12-28 20:28:40 +01:00
Peter Palotas 245a2440d7 - Added documentation for the Marionette.View class. Added some stronger typing to a couple of methods. 2014-12-28 20:17:14 +01:00
Peter Palotas 8c57d70d06 - Added documentation to Marionette.Renderer 2014-12-28 20:01:48 +01:00
Peter Palotas 988df7b7f4 - Added documentation to Marionette.TemplateCache. Added strong types for parameters and return types of this class. 2014-12-28 19:58:37 +01:00
Peter Palotas c828657164 Added documentation to underscore mixins of RegionManager, and fixed some errors in the definitions there. 2014-12-28 19:51:07 +01:00
Peter Palotas 945a61bd21 - Added documentation to Marionette.RegionManager.
- Added constructor with options to Marionette.RegionManager.
- Added overloads to addRegions with more specific types.
- Specified type of parameter for RegionManager.removeRegion.
2014-12-28 19:32:20 +01:00
Bibby dde5d1579f modified xregexp.d.ts
=======================================================
// Matchception: Finding matches within matches, while passing forward and
// returning specific backreferences
html = '<a href="http://xregexp.com/api/">XRegExp</a>' +
       '<a href="http://www.google.com/">Google</a>';
XRegExp.matchChain(html, [
  {regex: /<a href="([^"]+)">/i, backref: 1},
  {regex: XRegExp('(?i)^https?://(?<domain>[^/?#]+)'), backref: 'domain'}
]);
// -> ['xregexp.com', 'www.google.com']
2014-12-28 23:12:40 +08:00
Peter Palotas b293be0d51 - Added Marionette.Object, introduced in Marionette version 2.1.0.
- Added JSdoc to Marionette.Controller
- Added getOption method to Marionette.Controller.
- Introduced interfaces for configuration options for Region construction and the Region.show() method.
- Added missing options parameter to Region.show() and Region.attachView()
- Removed method Region.ensureEl() since this does not seem to exist on the Marionette.Region class.
- Removed method Region.open() since this does not seem to exist on the Marionette.Region class.
- Added return-type specifications to methods, instead of relying on implicit any. (Most methods just return 'this').
- Merged a previous commit that removed superfluous generics from several classes that didn't need them.
2014-12-28 15:55:58 +01:00
Peter Palotas 481f28c9f3 Removed superfluous generics from class declarations.
The Application, Region, Module and RegionManager classes were all declared as generic with a Model as a type-argument. However, none of these classes store items of a single model and do not need to be generic. The views are really the only classes that needs generics, so moved the generic to the methods accepting views as arguments instead.
2014-12-28 13:38:05 +01:00
odangosan 260bc896aa Add milkcocoa.d.ts and milkcocoa-tests.ts 2014-12-28 20:59:15 +09:00
Peter Palotas 33c1eb08b0 Updated marionette.js to comply with version 2.3.0. closeXXX() functions were renamed to destroyXXX() in version 2.0 of marionette, the same time that Layout was renamed to LayoutView which was already incorporated in these definitions. 2014-12-28 12:39:52 +01:00
Masahiro Wakame a12472597c Merge pull request #3381 from odangosan/vue
Add vue/vue.d.ts,vue/vue-tests.ts
2014-12-27 23:59:41 +09:00
Masahiro Wakame a3da2029d5 Merge pull request #3382 from tomoyashibata/master
Fix class name
2014-12-27 23:58:25 +09:00
tomoyashibata 726859494a Fix class name
"feed" in the case of an error occurs during instantiation. (Uncaught TypeError: undefined is not a function)
2014-12-27 23:49:14 +09:00
odangosan 0788f3939b Update vue/vue.d.ts Header format 2014-12-27 21:24:43 +09:00
odangosan 017bd13729 Update vue/vue.d.ts 2014-12-27 21:19:02 +09:00
vvakame 8ba97a7c1f update CONTRIBUTORS.md 2014-12-27 15:25:10 +09:00
Masahiro Wakame f84f02149e Merge pull request #3379 from hraban/patch-1
[touch-events] Index TouchList as array
2014-12-27 15:22:05 +09:00
Hraban Luyat b2a9fc564e [touch-events] Index TouchList as array
myTouchList[123] is allowed as an alias for myTouchList.item(123).

https://developer.mozilla.org/en-US/docs/Web/API/TouchList
and
http://www.w3.org/TR/touch-events/#idl-def-TouchList
2014-12-26 22:18:01 +01:00
Masahiro Wakame 0b6a5fb4e0 Merge pull request #3376 from alphaleonis/jquery.fancytree
Created type definitions for jquery.fancytree.
2014-12-27 00:35:58 +09:00
Masahiro Wakame f96983263c Merge pull request #3378 from horiuchi/asyncblock
bug fix: asyncblock
2014-12-27 00:34:56 +09:00
Masahiro Wakame af4432fab8 Merge pull request #3364 from HenryOrrin/patch-1
Update hapi.d.ts
2014-12-27 00:34:28 +09:00
Masahiro Wakame 0da04f733c Merge pull request #3373 from M-Zuber/tinycolor
Tinycolor typings
2014-12-27 00:34:02 +09:00
Masahiro Wakame a8e45e394d Merge pull request #3377 from mzsm/kuromojijs
Japanese morphological analyzer "kuromoji.js"
2014-12-26 23:27:17 +09:00
Horiuchi_H 195d5105cc fix bug 2014-12-26 16:25:50 +09:00
mzsm fe562facd3 update kuromoji.js 2014-12-26 16:06:25 +09:00
mzsm f4007ed324 Add kuromoji.js 2014-12-26 16:06:00 +09:00