diff --git a/bootbox/bootbox-tests.ts b/bootbox/bootbox-tests.ts index dbdfa252d..463170cd7 100644 --- a/bootbox/bootbox-tests.ts +++ b/bootbox/bootbox-tests.ts @@ -27,14 +27,12 @@ bootbox.prompt("Enter 'ok' to pass test", function (result) { console.log(result); }); bootbox.prompt({ - title: "Wassup?", message: "Enter 'ok' to pass test", callback: function (result) { console.log(result); } }); bootbox.prompt({ size: "large", - title: "Wassup?", message: "Enter 'ok' to pass test", callback: function (result) { console.log(result); } @@ -42,6 +40,7 @@ bootbox.prompt({ bootbox.dialog({ + title: "Wassup?", message: "Test Dialog", callback: function (result) { } }); diff --git a/contextjs/contextjs-tests.ts b/contextjs/contextjs-tests.ts index 7d54e80e6..0b0d55d09 100644 --- a/contextjs/contextjs-tests.ts +++ b/contextjs/contextjs-tests.ts @@ -7,7 +7,7 @@ context.settings({compress: true}); context.attach('#test', [ {header: 'header 1'}, {divider: true}, - {text:'foobar', submenu: [ + {text:'foobar', subMenu: [ {text:'sub1'}, {text:'sub2'} ]} diff --git a/dw-bxslider-4/dw-bxslider-4-tests.ts b/dw-bxslider-4/dw-bxslider-4-tests.ts index 8844fcdbe..d4138cca1 100644 --- a/dw-bxslider-4/dw-bxslider-4-tests.ts +++ b/dw-bxslider-4/dw-bxslider-4-tests.ts @@ -26,7 +26,7 @@ $(document).ready(function() { $('.slider1').bxSlider({ slideWidth: 200, - minSldies: 2, + minSlides: 2, maxSlides: 3, slideMargin: 10 }); diff --git a/fabricjs/fabricjs-tests.ts b/fabricjs/fabricjs-tests.ts index 621b104bd..89c882b05 100644 --- a/fabricjs/fabricjs-tests.ts +++ b/fabricjs/fabricjs-tests.ts @@ -70,7 +70,7 @@ function sample2() { // // Rendering canvas #2 // - var canvas2 = new fabric.Canvas('c2', { backgroundColor: "#000", renderOnAddition: false }), + var canvas2 = new fabric.Canvas('c2', { backgroundColor: "#000", renderOnAddRemove: false }), results2 = document.getElementById('results-c2'); startTimer(); @@ -84,7 +84,7 @@ function sample2() { canvas2.add(dot); } canvas2.renderAll(); // Note, calling renderAll() is important in this case - results2.innerHTML = 'Rendering 1000 elements using canvas.renderOnAddition = false in ' + stopTimer() + 'ms'; + results2.innerHTML = 'Rendering 1000 elements using canvas.renderOnAddRemove = false in ' + stopTimer() + 'ms'; } function sample3() { diff --git a/foundation/foundation.d.ts b/foundation/foundation.d.ts index c2dc4fc24..a51e47ae9 100644 --- a/foundation/foundation.d.ts +++ b/foundation/foundation.d.ts @@ -125,7 +125,8 @@ declare module Foundation { timer? : string; tip? : string; wrapper? : string; - button? : string; + button?: string; + prev_button?: string; modal? : string; expose? : string; expose_cover? : string; diff --git a/ftp/ftp-tests.ts b/ftp/ftp-tests.ts index 2e37e53f9..a40df2e55 100644 --- a/ftp/ftp-tests.ts +++ b/ftp/ftp-tests.ts @@ -20,7 +20,7 @@ c.connect(); c.connect({ host: "127.0.0.1", port: 21, - username: "Boo", + user: "Boo", password: "secret" }); diff --git a/gulp/gulp.d.ts b/gulp/gulp.d.ts index d7a0dba57..13c12a811 100644 --- a/gulp/gulp.d.ts +++ b/gulp/gulp.d.ts @@ -28,6 +28,13 @@ declare module gulp { */ buffer?: boolean; + /** + * The base path of a glob. + * + * Default is everything before a glob starts. + */ + base?: string; + /** * The current working directory in which to search. * Defaults to process.cwd(). diff --git a/jquery.colorpicker/jquery.colorpicker.d.ts b/jquery.colorpicker/jquery.colorpicker.d.ts index 683e28b96..5c89e4ed0 100644 --- a/jquery.colorpicker/jquery.colorpicker.d.ts +++ b/jquery.colorpicker/jquery.colorpicker.d.ts @@ -6,6 +6,15 @@ /// interface JQueryColorpickerOptions { + // Events + // TODO: Figure out actual types. + cancel: Function, + close: Function, + init: Function, + select: Function, + ok: Function, + open: Function, + alpha?: boolean; altAlpha?: boolean; altField?: string; @@ -21,7 +30,7 @@ interface JQueryColorpickerOptions { closeOnOutside?: boolean; color?: string; colorFormat?: string; - dragggable?: boolean; + draggable?: boolean; duration?: string; hsv?: boolean; inline?: boolean; diff --git a/lodash/lodash-tests.ts b/lodash/lodash-tests.ts index 14efc9c00..53a316ab5 100644 --- a/lodash/lodash-tests.ts +++ b/lodash/lodash-tests.ts @@ -1410,7 +1410,7 @@ result = _.template('<% print("hello " + name); %>!', { 'name': 'larry' var listTemplate = '<% $.each(people, function(name) { %>
  • <%- name %>
  • <% }); %>'; result = _.template(listTemplate, { 'people': ['moe', 'larry'] }, { 'imports': { '$': jQuery } }); -result = <_.TemplateExecutor>_.template('hello <%= name %>', null, { 'sourceURL': '/basic/greeting.jst' }); +result = <_.TemplateExecutor>_.template('hello <%= name %>', null, /*sourceURL:*/ '/basic/greeting.jst'); result = <_.TemplateExecutor>_.template('hi <%= data.name %>!', null, { 'variable': 'data' }); result = (<_.TemplateExecutor>result).source; diff --git a/microsoft-live-connect/microsoft-live-connect-tests.ts b/microsoft-live-connect/microsoft-live-connect-tests.ts index e6c1e2ad0..00f2208f0 100644 --- a/microsoft-live-connect/microsoft-live-connect-tests.ts +++ b/microsoft-live-connect/microsoft-live-connect-tests.ts @@ -467,7 +467,7 @@ var calendarCollection: Microsoft.Live.IObjectCollection any; diff --git a/underscore/underscore-tests.ts b/underscore/underscore-tests.ts index d530a4334..f469d3bea 100644 --- a/underscore/underscore-tests.ts +++ b/underscore/underscore-tests.ts @@ -291,17 +291,18 @@ _.result(object, 'stuff'); var compiled = _.template("hello: <%= name %>"); compiled({ name: 'moe' }); var list2 = "<% _.each(people, function(name) { %>
  • <%= name %>
  • <% }); %>"; -_.template(list2, { people: ['moe', 'curly', 'larry'] }); +_.template(list2)({ people: ['moe', 'curly', 'larry'] }); var template = _.template("<%- value %>"); template({ value: '