' +
diff --git a/jquery.form/jquery.form-tests.ts b/jquery.form/jquery.form-tests.ts
index f115a97f57..c4d3d636bf 100644
--- a/jquery.form/jquery.form-tests.ts
+++ b/jquery.form/jquery.form-tests.ts
@@ -1,5 +1,3 @@
-///
-
// Basic usage
jQuery('#myFormId').ajaxForm();
@@ -30,112 +28,112 @@ jQuery.fn.ajaxSubmit.debug = true;
// ajaxForm
-// bind form using 'ajaxForm'
+// bind form using 'ajaxForm'
$('#myForm1').ajaxForm({
- target: '#output1', // target element(s) to be updated with server response
+ target: '#output1', // target element(s) to be updated with server response
beforeSubmit: function (formData, jqForm, options) { // pre-submit callback
- // formData is an array; here we use $.param to convert it to a string to display it
- // but the form plugin does this for you automatically when it submits the data
+ // formData is an array; here we use $.param to convert it to a string to display it
+ // but the form plugin does this for you automatically when it submits the data
var queryString = $.param(formData);
- // jqForm is a jQuery object encapsulating the form element. To access the
- // DOM element for the form do this:
- // var formElement = jqForm[0];
+ // jqForm is a jQuery object encapsulating the form element. To access the
+ // DOM element for the form do this:
+ // var formElement = jqForm[0];
alert('About to submit: \n\n' + queryString);
- // here we could return false to prevent the form from being submitted;
- // returning anything other than false will allow the form submit to continue
+ // here we could return false to prevent the form from being submitted;
+ // returning anything other than false will allow the form submit to continue
return true;
},
success: function (responseText, statusText, xhr) { // post-submit callback
- // for normal html responses, the first argument to the success callback
- // is the XMLHttpRequest object's responseText property
-
- // if the ajaxForm method was passed an Options Object with the dataType
- // property set to 'xml' then the first argument to the success callback
- // is the XMLHttpRequest object's responseXML property
-
- // if the ajaxForm method was passed an Options Object with the dataType
- // property set to 'json' then the first argument to the success callback
- // is the json data object returned by the server
-
+ // for normal html responses, the first argument to the success callback
+ // is the XMLHttpRequest object's responseText property
+
+ // if the ajaxForm method was passed an Options Object with the dataType
+ // property set to 'xml' then the first argument to the success callback
+ // is the XMLHttpRequest object's responseXML property
+
+ // if the ajaxForm method was passed an Options Object with the dataType
+ // property set to 'json' then the first argument to the success callback
+ // is the json data object returned by the server
+
alert('status: ' + statusText + '\n\nresponseText: \n' + responseText +
'\n\nThe output div should have already been updated with the responseText.');
}
- // other available options:
- //url: url // override for form's 'action' attribute
- //type: type // 'get' or 'post', override for form's 'method' attribute
- //dataType: null // 'xml', 'script', or 'json' (expected server response type)
- //clearForm: true // clear all form fields after successful submit
- //resetForm: true // reset the form after successful submit
+ // other available options:
+ //url: url // override for form's 'action' attribute
+ //type: type // 'get' or 'post', override for form's 'method' attribute
+ //dataType: null // 'xml', 'script', or 'json' (expected server response type)
+ //clearForm: true // clear all form fields after successful submit
+ //resetForm: true // reset the form after successful submit
- // $.ajax options can be used here too, for example:
- //timeout: 3000
+ // $.ajax options can be used here too, for example:
+ //timeout: 3000
});
// ajaxSubmit
$('#myForm2').ajaxSubmit({
- target: '#output2', // target element(s) to be updated with server response
+ target: '#output2', // target element(s) to be updated with server response
beforeSubmit: function (formData, jqForm, options) { // pre-submit callback
- // formData is an array; here we use $.param to convert it to a string to display it
- // but the form plugin does this for you automatically when it submits the data
+ // formData is an array; here we use $.param to convert it to a string to display it
+ // but the form plugin does this for you automatically when it submits the data
var queryString = $.param(formData);
- // jqForm is a jQuery object encapsulating the form element. To access the
- // DOM element for the form do this:
- // var formElement = jqForm[0];
+ // jqForm is a jQuery object encapsulating the form element. To access the
+ // DOM element for the form do this:
+ // var formElement = jqForm[0];
alert('About to submit: \n\n' + queryString);
- // here we could return false to prevent the form from being submitted;
- // returning anything other than false will allow the form submit to continue
+ // here we could return false to prevent the form from being submitted;
+ // returning anything other than false will allow the form submit to continue
return true;
},
success: function showResponse(responseText, statusText, xhr) { // post-submit callback
- // for normal html responses, the first argument to the success callback
- // is the XMLHttpRequest object's responseText property
+ // for normal html responses, the first argument to the success callback
+ // is the XMLHttpRequest object's responseText property
- // if the ajaxSubmit method was passed an Options Object with the dataType
- // property set to 'xml' then the first argument to the success callback
- // is the XMLHttpRequest object's responseXML property
+ // if the ajaxSubmit method was passed an Options Object with the dataType
+ // property set to 'xml' then the first argument to the success callback
+ // is the XMLHttpRequest object's responseXML property
- // if the ajaxSubmit method was passed an Options Object with the dataType
- // property set to 'json' then the first argument to the success callback
- // is the json data object returned by the server
+ // if the ajaxSubmit method was passed an Options Object with the dataType
+ // property set to 'json' then the first argument to the success callback
+ // is the json data object returned by the server
alert('status: ' + statusText + '\n\nresponseText: \n' + responseText +
'\n\nThe output div should have already been updated with the responseText.');
}
- // other available options:
- //url: url // override for form's 'action' attribute
- //type: type // 'get' or 'post', override for form's 'method' attribute
- //dataType: null // 'xml', 'script', or 'json' (expected server response type)
- //clearForm: true // clear all form fields after successful submit
- //resetForm: true // reset the form after successful submit
+ // other available options:
+ //url: url // override for form's 'action' attribute
+ //type: type // 'get' or 'post', override for form's 'method' attribute
+ //dataType: null // 'xml', 'script', or 'json' (expected server response type)
+ //clearForm: true // clear all form fields after successful submit
+ //resetForm: true // reset the form after successful submit
- // $.ajax options can be used here too, for example:
- //timeout: 3000
+ // $.ajax options can be used here too, for example:
+ //timeout: 3000
});
// Validation
$('#myForm2').ajaxForm({
beforeSubmit: function (formData, jqForm, options) {
- // formData is an array of objects representing the name and value of each field
- // that will be sent to the server; it takes the following form:
- //
- // [
- // { name: username, value: valueOfUsernameInput },
- // { name: password, value: valueOfPasswordInput }
- // ]
- //
- // To validate, we can examine the contents of this array to see if the
- // username and password fields have values. If either value evaluates
- // to false then we return false from this method.
+ // formData is an array of objects representing the name and value of each field
+ // that will be sent to the server; it takes the following form:
+ //
+ // [
+ // { name: username, value: valueOfUsernameInput },
+ // { name: password, value: valueOfPasswordInput }
+ // ]
+ //
+ // To validate, we can examine the contents of this array to see if the
+ // username and password fields have values. If either value evaluates
+ // to false then we return false from this method.
for (var i = 0; i < formData.length; i++) {
if (!formData[i].value) {
@@ -150,13 +148,13 @@ $('#myForm2').ajaxForm({
// JSON
$('#jsonForm').ajaxForm({
- // dataType identifies the expected content type of the server response
+ // dataType identifies the expected content type of the server response
dataType: 'json',
- // success identifies the function to invoke when the server response
- // has been received
+ // success identifies the function to invoke when the server response
+ // has been received
success: function (data) {
- // 'data' is the json object returned from the server
+ // 'data' is the json object returned from the server
alert(data.message);
}
});
@@ -164,14 +162,14 @@ $('#jsonForm').ajaxForm({
// XML
$('#xmlForm').ajaxForm({
- // dataType identifies the expected content type of the server response
+ // dataType identifies the expected content type of the server response
dataType: 'xml',
- // success identifies the function to invoke when the server response
- // has been received
+ // success identifies the function to invoke when the server response
+ // has been received
success: function (responseXML) {
- // 'responseXML' is the XML document returned by the server; we use
- // jQuery to extract the content of the message node from the XML doc
+ // 'responseXML' is the XML document returned by the server; we use
+ // jQuery to extract the content of the message node from the XML doc
var message = $('message', responseXML).text();
alert(message);
}
@@ -180,11 +178,11 @@ $('#xmlForm').ajaxForm({
// HTML
$('#htmlForm').ajaxForm({
- // target identifies the element(s) to update with the server response
+ // target identifies the element(s) to update with the server response
target: '#htmlExampleTarget',
- // success identifies the function to invoke when the server response
- // has been received; here we apply a fade-in effect to the new content
+ // success identifies the function to invoke when the server response
+ // has been received; here we apply a fade-in effect to the new content
success: function () {
$('#htmlExampleTarget').fadeIn('slow');
}
diff --git a/jquery.jnotify/jquery.jnotify-tests.ts b/jquery.jnotify/jquery.jnotify-tests.ts
index b5ad3927e2..f38a99760a 100644
--- a/jquery.jnotify/jquery.jnotify-tests.ts
+++ b/jquery.jnotify/jquery.jnotify-tests.ts
@@ -1,5 +1,3 @@
-///
-
$(document).ready(function () {
$('#StatusBar').jnotifyInizialize({
oneAtTime: true
diff --git a/jquery.joyride/jquery.joyride-tests.ts b/jquery.joyride/jquery.joyride-tests.ts
index f0a51b5270..c7324dd6c9 100644
--- a/jquery.joyride/jquery.joyride-tests.ts
+++ b/jquery.joyride/jquery.joyride-tests.ts
@@ -1,6 +1,3 @@
-///
-
-
var options: JoyrideOptions;
options.autoStart = true;
options.postStepCallback = (index, tip)=> {
diff --git a/jquery.jsignature/jquery.jsignature-tests.ts b/jquery.jsignature/jquery.jsignature-tests.ts
index 5ec4bc486d..58d73fe24b 100644
--- a/jquery.jsignature/jquery.jsignature-tests.ts
+++ b/jquery.jsignature/jquery.jsignature-tests.ts
@@ -1,8 +1,6 @@
-///
-
/*
* Taken from the tests section on jSignature
- */
+ */
$(document).ready(function () {
var $sigdiv = $('#signature');
@@ -10,7 +8,7 @@ $(document).ready(function () {
$sigdiv.jSignature();
$sigdiv.jSignature("reset");
-
+
var data = $sigdiv.jSignature("getData", "svgbase64");
$sigdiv.jSignature("setData", "data:" + data);
diff --git a/jquery.leanmodal/jquery.leanmodal-tests.ts b/jquery.leanmodal/jquery.leanmodal-tests.ts
index fb6c4ae344..1884cb25d9 100644
--- a/jquery.leanmodal/jquery.leanmodal-tests.ts
+++ b/jquery.leanmodal/jquery.leanmodal-tests.ts
@@ -1,6 +1,3 @@
-///
-
-
class LeanModalOptions implements JQueryLeanModalOption {
top : number;
overlay : number;
diff --git a/jquery.livestampjs/jquery.livestampjs-tests.ts b/jquery.livestampjs/jquery.livestampjs-tests.ts
index dc713819c9..6b5bd01835 100644
--- a/jquery.livestampjs/jquery.livestampjs-tests.ts
+++ b/jquery.livestampjs/jquery.livestampjs-tests.ts
@@ -1,4 +1,3 @@
-///
import * as moment from 'moment';
$('#test1').livestamp(new Date('June 18, 1987'));
diff --git a/jquery.menuaim/jquery.menuaim-tests.ts b/jquery.menuaim/jquery.menuaim-tests.ts
index e2a1b36aff..01baa59e03 100644
--- a/jquery.menuaim/jquery.menuaim-tests.ts
+++ b/jquery.menuaim/jquery.menuaim-tests.ts
@@ -1,5 +1,3 @@
-///
-
$('div').menuAim({
activate: function () { },
deactivate: function () { },
diff --git a/jquery.mmenu/jquery.mmenu-tests.ts b/jquery.mmenu/jquery.mmenu-tests.ts
index 385f479507..a08f4371ec 100644
--- a/jquery.mmenu/jquery.mmenu-tests.ts
+++ b/jquery.mmenu/jquery.mmenu-tests.ts
@@ -1,7 +1,3 @@
-///
-///
-
-
// --------------------------------------------------------
// ---------------- TEST DEFAULT OPTIONS ------------------
// --------------------------------------------------------
diff --git a/jquery.payment/index.d.ts b/jquery.payment/index.d.ts
index 341e695a9a..88ecd255a5 100644
--- a/jquery.payment/index.d.ts
+++ b/jquery.payment/index.d.ts
@@ -3,6 +3,8 @@
// Definitions by: Eric J. Smith
, John Rutherford
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
+///
+
declare namespace JQueryPayment {
interface Payment {
diff --git a/jquery.payment/jquery.payment-tests.ts b/jquery.payment/jquery.payment-tests.ts
index db02b96d90..9eaad853cb 100644
--- a/jquery.payment/jquery.payment-tests.ts
+++ b/jquery.payment/jquery.payment-tests.ts
@@ -1,6 +1,3 @@
-///
-///
-
$.payment.cards.push({
// Card type, as returned by $.payment.cardType.
type: 'mastercard',
diff --git a/jquery.pjax.falsandtru/jquery.pjax.falsandtru-tests.ts b/jquery.pjax.falsandtru/jquery.pjax.falsandtru-tests.ts
index 8bfb91a27e..b215b02b35 100644
--- a/jquery.pjax.falsandtru/jquery.pjax.falsandtru-tests.ts
+++ b/jquery.pjax.falsandtru/jquery.pjax.falsandtru-tests.ts
@@ -1,6 +1,3 @@
-
-///
-
function test_pjax() {
$.pjax();
}
diff --git a/jquery.pjax/jquery.pjax-tests.ts b/jquery.pjax/jquery.pjax-tests.ts
index 25422922d8..91cc9391a2 100644
--- a/jquery.pjax/jquery.pjax-tests.ts
+++ b/jquery.pjax/jquery.pjax-tests.ts
@@ -1,6 +1,3 @@
-
-///
-
function test_fn_pjax() {
$(document).pjax("a");
$(document).pjax("a", "#pjax-container");
diff --git a/jquery.placeholder/jquery.placeholder-tests.ts b/jquery.placeholder/jquery.placeholder-tests.ts
index edaf3ea111..04c526b352 100644
--- a/jquery.placeholder/jquery.placeholder-tests.ts
+++ b/jquery.placeholder/jquery.placeholder-tests.ts
@@ -1,5 +1,3 @@
-///
-
$('input').placeholder();
// specify custom class
diff --git a/jquery.pnotify/jquery.pnotify-tests.ts b/jquery.pnotify/jquery.pnotify-tests.ts
index 41cd7d3fda..f1b8ffb73e 100644
--- a/jquery.pnotify/jquery.pnotify-tests.ts
+++ b/jquery.pnotify/jquery.pnotify-tests.ts
@@ -1,6 +1,3 @@
-///
-
-
function test_pnotify() {
diff --git a/jquery.prettyphoto/jquery.prettyphoto-tests.ts b/jquery.prettyphoto/jquery.prettyphoto-tests.ts
index 4fcbf9ecdf..888d68ada4 100644
--- a/jquery.prettyphoto/jquery.prettyphoto-tests.ts
+++ b/jquery.prettyphoto/jquery.prettyphoto-tests.ts
@@ -1,8 +1,3 @@
-// Tests for prettyPhoto library
-
-///
-
-
// JQUERY
$('#id').prettyPhoto();
diff --git a/jquery.qrcode/jquery.qrcode-tests.ts b/jquery.qrcode/jquery.qrcode-tests.ts
index a634bd6f07..d007b203da 100644
--- a/jquery.qrcode/jquery.qrcode-tests.ts
+++ b/jquery.qrcode/jquery.qrcode-tests.ts
@@ -1,5 +1,3 @@
-///
-
// Examples from website (note: the examples use color instead of fill, which is not supported)
$('.container').qrcode();
diff --git a/jquery.rowgrid/jquery.rowgrid-tests.ts b/jquery.rowgrid/jquery.rowgrid-tests.ts
index ba3e5f822d..3f1427c94a 100644
--- a/jquery.rowgrid/jquery.rowgrid-tests.ts
+++ b/jquery.rowgrid/jquery.rowgrid-tests.ts
@@ -1,12 +1,10 @@
-///
-
/*
* Test different options
*/
var options = {
- minMargin: 10,
- maxMargin: 35,
+ minMargin: 10,
+ maxMargin: 35,
itemSelector: ".item"
};
diff --git a/jquery.scrollto/jquery.scrollto-tests.ts b/jquery.scrollto/jquery.scrollto-tests.ts
index 303ce0cd01..fcdc2f50bb 100644
--- a/jquery.scrollto/jquery.scrollto-tests.ts
+++ b/jquery.scrollto/jquery.scrollto-tests.ts
@@ -1,5 +1,3 @@
-///
-
$('div').scrollTo(340);
$('div').scrollTo('+=340px', { axis: 'y' });
diff --git a/jquery.simplemodal/jquery.simplemodal-tests.ts b/jquery.simplemodal/jquery.simplemodal-tests.ts
index 8e73e057cc..0784f0eeeb 100644
--- a/jquery.simplemodal/jquery.simplemodal-tests.ts
+++ b/jquery.simplemodal/jquery.simplemodal-tests.ts
@@ -1,7 +1,5 @@
// Tests taken from documentation: http://www.ericmmartin.com/projects/simplemodal/
-///
-
// Chained call with no options
$("#sample").modal();
diff --git a/jquery.simplepagination/jquery.simplepagination-tests.ts b/jquery.simplepagination/jquery.simplepagination-tests.ts
index b35a6f42a0..075fe02628 100644
--- a/jquery.simplepagination/jquery.simplepagination-tests.ts
+++ b/jquery.simplepagination/jquery.simplepagination-tests.ts
@@ -1,5 +1,3 @@
-///
-
var selector = '#elementId';
$(function () {
diff --git a/jquery.slimscroll/jquery.slimscroll-tests.ts b/jquery.slimscroll/jquery.slimscroll-tests.ts
index 0d4be5af94..a0368d07e9 100644
--- a/jquery.slimscroll/jquery.slimscroll-tests.ts
+++ b/jquery.slimscroll/jquery.slimscroll-tests.ts
@@ -1,5 +1,3 @@
-///
-
$("div").slimScroll();
$("div").slimScroll({
diff --git a/jquery.tagsmanager/jquery.tagsmanager-tests.ts b/jquery.tagsmanager/jquery.tagsmanager-tests.ts
index 33af6a8b7b..26a75e8310 100644
--- a/jquery.tagsmanager/jquery.tagsmanager-tests.ts
+++ b/jquery.tagsmanager/jquery.tagsmanager-tests.ts
@@ -1,6 +1,3 @@
-///
-
-
var options: ITagsManagerOptions = {
prefilled: ["Pisa", "Rome"],
CapitalizeFirstLetter: true,
diff --git a/jquery.timeago/jquery.timeago-tests.ts b/jquery.timeago/jquery.timeago-tests.ts
index 2a852331be..f77b40b121 100644
--- a/jquery.timeago/jquery.timeago-tests.ts
+++ b/jquery.timeago/jquery.timeago-tests.ts
@@ -1,5 +1,3 @@
-///
-
// Basic usage
var jQueryElement: JQuery = jQuery("abbr.timeago").timeago();
diff --git a/jquery.timepicker/jquery.timepicker-tests.ts b/jquery.timepicker/jquery.timepicker-tests.ts
index cbb14dfe7c..52329cf11a 100644
--- a/jquery.timepicker/jquery.timepicker-tests.ts
+++ b/jquery.timepicker/jquery.timepicker-tests.ts
@@ -1,5 +1,3 @@
-///
-
var beforeShowCallback, onSelectCallback, onCloseCallback, onHourShow, onMinuteShow;
$('#timepicker').timepicker({
timeSeparator: ':',
diff --git a/jquery.timer/jquery.timer-tests.ts b/jquery.timer/jquery.timer-tests.ts
index e5d1cdaa3a..1c6653bfdb 100644
--- a/jquery.timer/jquery.timer-tests.ts
+++ b/jquery.timer/jquery.timer-tests.ts
@@ -1,31 +1,28 @@
-///
+// Create the timer
+$("body").timer(
+ function () {
+ console.log("This function just got called");
+ }, 10000, true
+);
+$("body").timer.set({ time: 5000 }); // Change the time from 10000 millseconds to 5000 milliseconds
+$("body").timer.toggle(false); // Reset the timer
+$("body").timer.stop(); // Stop the timer
+$("body").timer.play(); // Start / play the timer
- // Create the timer
- $("body").timer(
- function () {
- console.log("This function just got called");
- }, 10000, true
- );
+// #region Outputting if timer is active or not
+var isTimerActive = $("body").timer.isActive; // Define boolean isActive as isTimerActive
+if (isTimerActive == true){
+ console.log("Timer is active!");
+}
+else{
+ console.log("Timer is not active!");
+}
+// #endregion
- $("body").timer.set({ time: 5000 }); // Change the time from 10000 millseconds to 5000 milliseconds
- $("body").timer.toggle(false); // Reset the timer
- $("body").timer.stop(); // Stop the timer
- $("body").timer.play(); // Start / play the timer
+// #region Get time remaining
+console.log("Time remaining on timer: " + $("body").timer.remaining.toString);
+// #endregion
- // #region Outputting if timer is active or not
- var isTimerActive = $("body").timer.isActive; // Define boolean isActive as isTimerActive
- if (isTimerActive == true){
- console.log("Timer is active!");
- }
- else{
- console.log("Timer is not active!");
- }
- // #endregion
-
- // #region Get time remaining
- console.log("Time remaining on timer: " + $("body").timer.remaining.toString);
- // #endregion
-
- $("body").timer.stop(); // Stop the timer once more for the purpose of the tests (to test once())
- $("body").timer.once(1000); // Run the timer ONCE in 1 second
\ No newline at end of file
+$("body").timer.stop(); // Stop the timer once more for the purpose of the tests (to test once())
+$("body").timer.once(1000); // Run the timer ONCE in 1 second
\ No newline at end of file
diff --git a/jquery.tipsy/jquery.tipsy-tests.ts b/jquery.tipsy/jquery.tipsy-tests.ts
index e307e5d364..09ba7f2d68 100644
--- a/jquery.tipsy/jquery.tipsy-tests.ts
+++ b/jquery.tipsy/jquery.tipsy-tests.ts
@@ -1,5 +1,3 @@
-///
-
// basic
$('#example-1').tipsy();
diff --git a/jquery.tools/jquery.tools-tests.ts b/jquery.tools/jquery.tools-tests.ts
index 0a435ccf02..443425e76b 100644
--- a/jquery.tools/jquery.tools-tests.ts
+++ b/jquery.tools/jquery.tools-tests.ts
@@ -1,5 +1,3 @@
-///
-
/* from documentation at http://jquerytools.github.io/documentation/overlay/index.html */
$("img[rel]").overlay();
diff --git a/jquery.total-storage/jquery.total-storage-tests.ts b/jquery.total-storage/jquery.total-storage-tests.ts
index 0a23dd67cf..37ebb1ca73 100644
--- a/jquery.total-storage/jquery.total-storage-tests.ts
+++ b/jquery.total-storage/jquery.total-storage-tests.ts
@@ -1,10 +1,3 @@
-// Type definitions for jQueryTotalStorage 1.1.2
-// Project: https://github.com/Upstatement/jquery-total-storage
-// Definitions by: Jeremy Brooks
-// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
-
-///
-
//direct call
$.totalStorage("test_key1", "test_value");
var val1:string = $.totalStorage("test_key");
diff --git a/jquery.transit/jquery.transit-tests.ts b/jquery.transit/jquery.transit-tests.ts
index 2a672ec979..4f3b41f228 100644
--- a/jquery.transit/jquery.transit-tests.ts
+++ b/jquery.transit/jquery.transit-tests.ts
@@ -1,5 +1,3 @@
-///
-
class TransitOptions implements JQueryTransitOptions {
opacity: number;
duration: number;
diff --git a/jquery.ui.datetimepicker/jquery.ui.datetimepicker-tests.ts b/jquery.ui.datetimepicker/jquery.ui.datetimepicker-tests.ts
index 44996637da..00ba4fe297 100644
--- a/jquery.ui.datetimepicker/jquery.ui.datetimepicker-tests.ts
+++ b/jquery.ui.datetimepicker/jquery.ui.datetimepicker-tests.ts
@@ -1,9 +1,6 @@
-///
-
-
// basic no options
$('#datetimepicker').datetimepicker({
-
+
});
// basic with some options
diff --git a/jquery.validation/jquery.validation-tests.ts b/jquery.validation/jquery.validation-tests.ts
index 0b2de520f2..68062d6e1c 100644
--- a/jquery.validation/jquery.validation-tests.ts
+++ b/jquery.validation/jquery.validation-tests.ts
@@ -1,6 +1,4 @@
-///
-///
-
+///
function test_validate() {
$("#commentForm").validate();
@@ -264,4 +262,3 @@ function test_static_methods() {
jQuery.validator.format('{0} {1}', 'a', 2);
jQuery.validator.format('{0} {1}', ['a', 2]);
}
-
\ No newline at end of file
diff --git a/jquery.watermark/jquery.watermark-tests.ts b/jquery.watermark/jquery.watermark-tests.ts
index 225ba0a482..e92ec0df11 100644
--- a/jquery.watermark/jquery.watermark-tests.ts
+++ b/jquery.watermark/jquery.watermark-tests.ts
@@ -1,5 +1,3 @@
-///
-
$('#inputId').watermark('Required information');
$('#inputId').watermark('Required information', { className: 'myClassName' });
$('#inputId').watermark('Search', { useNative: false });
diff --git a/jquery.window/jquery.window-tests.ts b/jquery.window/jquery.window-tests.ts
index 4b1b9b6eb2..15021cad7d 100644
--- a/jquery.window/jquery.window-tests.ts
+++ b/jquery.window/jquery.window-tests.ts
@@ -1,5 +1,3 @@
-///
-
function example_1() {
$.window({
title: "Cyclops Studio",
@@ -20,13 +18,13 @@ function example_2() {
function example_3() {
// prepare customerized static attributes, see static attributes
- // Note: you should call this method before starting to create window instances, or windows might display wrong.
+ // Note: you should call this method before starting to create window instances, or windows might display wrong.
$.window.prepare({
dock: 'bottom', // change the dock direction: 'left', 'right', 'top', 'bottom'
animationSpeed: 200, // set animation speed
minWinLong: 180 // set minimized window long dimension width in pixel
});
-
+
// limit window within body
$.window({
icon: 'http://www.fstoke.me/favicon.ico',
@@ -51,7 +49,7 @@ function example_3() {
x: 80,
y: 80
});
-
+
// assign the dock area
$.window.prepare({
dock: 'bottom', // change the dock direction: 'left', 'right', 'top', 'bottom'
diff --git a/jquerymobile/jquerymobile-tests.ts b/jquerymobile/jquerymobile-tests.ts
index 105edc3f88..e7fbf3bfff 100644
--- a/jquerymobile/jquerymobile-tests.ts
+++ b/jquerymobile/jquerymobile-tests.ts
@@ -1,6 +1,3 @@
-///
-
-
function test_api() {
$.mobile.changePage("about/us.html", { transition: "slideup" });
$.mobile.changePage("searchresults.php", {
diff --git a/jqueryui/jqueryui-tests.ts b/jqueryui/jqueryui-tests.ts
index 2cce742f86..5755738622 100644
--- a/jqueryui/jqueryui-tests.ts
+++ b/jqueryui/jqueryui-tests.ts
@@ -1,6 +1,3 @@
-///
-
-
function test_draggable() {
$("#draggable").draggable({ axis: "y" });
diff --git a/jsonwebtoken/jsonwebtoken-tests.ts b/jsonwebtoken/jsonwebtoken-tests.ts
index 4a939becbc..e591f31159 100644
--- a/jsonwebtoken/jsonwebtoken-tests.ts
+++ b/jsonwebtoken/jsonwebtoken-tests.ts
@@ -1,10 +1,8 @@
-/**
- * Test suite created by Maxime LUCE
- *
+/**
+ * Test suite created by Maxime LUCE
+ *
* Created by using code samples from https://github.com/auth0/node-jsonwebtoken.
- */
-
-///
+ */
import jwt = require("jsonwebtoken");
import fs = require("fs");
@@ -49,7 +47,7 @@ jwt.verify(token, 'shhhhh', function(err, decoded) {
// invalid token
jwt.verify(token, 'wrong-secret', function(err, decoded) {
- // err
+ // err
// decoded undefined
});
diff --git a/jsrender/jsrender-tests.ts b/jsrender/jsrender-tests.ts
index d728f968ae..7b5bf5a525 100644
--- a/jsrender/jsrender-tests.ts
+++ b/jsrender/jsrender-tests.ts
@@ -1,5 +1,3 @@
-///
-
$.views.converters("upper", function(val) {
return val.toUpperCase();
});
diff --git a/jsx-chai/jsx-chai-tests.ts b/jsx-chai/jsx-chai-tests.ts
index d421ae0874..48c49e7b25 100644
--- a/jsx-chai/jsx-chai-tests.ts
+++ b/jsx-chai/jsx-chai-tests.ts
@@ -1,5 +1,3 @@
-///
-
import chai = require('chai');
import jsxChai = require('jsx-chai');
diff --git a/kendo-ui/kendo-ui-tests.ts b/kendo-ui/kendo-ui-tests.ts
index d1cc528edb..0b79f87954 100644
--- a/kendo-ui/kendo-ui-tests.ts
+++ b/kendo-ui/kendo-ui-tests.ts
@@ -1,6 +1,3 @@
-///
-
-
var is = {
string: (msg: string) => {
return true;
diff --git a/klaw/klaw-tests.ts b/klaw/klaw-tests.ts
index 312af220ff..acd8b2fcbf 100644
--- a/klaw/klaw-tests.ts
+++ b/klaw/klaw-tests.ts
@@ -1,6 +1,3 @@
-///
-///
-
import * as klaw from "klaw";
const path = require('path');
diff --git a/knockout-amd-helpers/knockout-amd-helpers-tests.ts b/knockout-amd-helpers/knockout-amd-helpers-tests.ts
index d2773dee12..5b9c2983b5 100644
--- a/knockout-amd-helpers/knockout-amd-helpers-tests.ts
+++ b/knockout-amd-helpers/knockout-amd-helpers-tests.ts
@@ -1,8 +1,5 @@
// Tests for knockout.projections.d.ts
-///
-
-
//The baseDir is used in building the path to use in the require statement. If your modules live in the modules directory, then you can specify it globally here.
ko.bindingHandlers.module.baseDir = "blub";
diff --git a/knockout-transformations/knockout-transformations-tests.ts b/knockout-transformations/knockout-transformations-tests.ts
index c8e93fc20e..6725f4f209 100644
--- a/knockout-transformations/knockout-transformations-tests.ts
+++ b/knockout-transformations/knockout-transformations-tests.ts
@@ -1,6 +1,3 @@
-///
-
-
// Test map
var sourceItems: KnockoutObservableArray = ko.observableArray([1, 2, 3, 4, 5]);
var squares: KnockoutObservableArray = sourceItems.map(function (x) { return x * x; });
diff --git a/knockout.kogrid/knockout.kogrid-tests.ts b/knockout.kogrid/knockout.kogrid-tests.ts
index 8abe83d36d..ba36e78e9f 100644
--- a/knockout.kogrid/knockout.kogrid-tests.ts
+++ b/knockout.kogrid/knockout.kogrid-tests.ts
@@ -1,33 +1,27 @@
-///
-
-
-namespace KoGridTests
-{
- export interface IGridItem {
- name: string;
- }
-
- export class Tests {
- public items: KnockoutObservableArray;
- public selectedItems: KnockoutObservableArray;
- public gridOptionsAlarms: kg.GridOptions;
-
- constructor() {
- this.items = ko.observableArray();
- this.selectedItems = ko.observableArray();
- this.gridOptionsAlarms = this.createDefaultGridOptions(this.items, this.selectedItems);
- }
-
- public createDefaultGridOptions(dataArray: KnockoutObservableArray, selectedItems: KnockoutObservableArray): kg.GridOptions {
- return {
- data: dataArray,
- displaySelectionCheckbox: false,
- footerVisible: false,
- multiSelect: false,
- showColumnMenu: false,
- plugins: null,
- selectedItems: selectedItems
- };
- }
- }
+export interface IGridItem {
+ name: string;
+}
+
+export class Tests {
+ public items: KnockoutObservableArray;
+ public selectedItems: KnockoutObservableArray;
+ public gridOptionsAlarms: kg.GridOptions;
+
+ constructor() {
+ this.items = ko.observableArray();
+ this.selectedItems = ko.observableArray();
+ this.gridOptionsAlarms = this.createDefaultGridOptions(this.items, this.selectedItems);
+ }
+
+ public createDefaultGridOptions(dataArray: KnockoutObservableArray, selectedItems: KnockoutObservableArray): kg.GridOptions {
+ return {
+ data: dataArray,
+ displaySelectionCheckbox: false,
+ footerVisible: false,
+ multiSelect: false,
+ showColumnMenu: false,
+ plugins: null,
+ selectedItems: selectedItems
+ };
+ }
}
diff --git a/knockout.mapping/knockout.mapping-tests.ts b/knockout.mapping/knockout.mapping-tests.ts
index 7b1a9aca8d..6262f36275 100644
--- a/knockout.mapping/knockout.mapping-tests.ts
+++ b/knockout.mapping/knockout.mapping-tests.ts
@@ -1,6 +1,3 @@
-
-///
-
var inputJSON = '{ name: "foo" }';
var inputData = { name: 'foo' };
var inputModel = { name: 'bar' };
diff --git a/knockout.projections/knockout.projections-tests.ts b/knockout.projections/knockout.projections-tests.ts
index c0899c81ee..bc8a505484 100644
--- a/knockout.projections/knockout.projections-tests.ts
+++ b/knockout.projections/knockout.projections-tests.ts
@@ -1,8 +1,3 @@
-// Tests for knockout.projections.d.ts
-
-///
-
-
// Test map
var sourceItems = ko.observableArray([1, 2, 3, 4, 5]);
var squares = sourceItems.map(function (x) { return x * x; });
diff --git a/knockout.punches/knockout.punches-tests.ts b/knockout.punches/knockout.punches-tests.ts
index 1de89ca570..2eccd25d37 100644
--- a/knockout.punches/knockout.punches-tests.ts
+++ b/knockout.punches/knockout.punches-tests.ts
@@ -1,6 +1,3 @@
-///
-
-
function test_enable() {
ko.punches.enableAll();
}
diff --git a/knockstrap/knockstrap-tests.ts b/knockstrap/knockstrap-tests.ts
index 2033252de2..2fb58fbaf7 100644
--- a/knockstrap/knockstrap-tests.ts
+++ b/knockstrap/knockstrap-tests.ts
@@ -1,9 +1,3 @@
-///
-///
-///
-
-
-
// test unique id
var adaskoUnitqueId: string = ko.utils.uniqueId('adaskothebeast');
diff --git a/ko.plus/ko.plus-tests.ts b/ko.plus/ko.plus-tests.ts
index cbb86d3122..d3472c0d82 100644
--- a/ko.plus/ko.plus-tests.ts
+++ b/ko.plus/ko.plus-tests.ts
@@ -1,30 +1,9 @@
-
-///
-
-// Tests for ko.plus.d.ts
-// Project: https://github.com/stevegreatrex/ko.plus
-// Definitions by: Howard Richards
-// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
-
-/*
- Version 1.0 - initial commit
-
- Version 1.1 - added test for makeEditable
-
- Version 1.2 - amended callback on commmand.fail() method - accepts response,
- status and message values
-
- Note: Typescript version 1.4 or higher is required for union types
- and type declarations
-*/
-
function CommandTests() {
-
// initalize command with an execute method
var cmd1 = ko.command(() => {
return "Hello cmd1";
});
-
+
// initialize command and add done and fail callbacks
var cmd2 = ko.command(() => {
return "Hello cmd2";
@@ -56,7 +35,7 @@ function CommandTests() {
// test execute the command
cmd1();
-
+
// test properties of the commmand
var isRunning = cmd1.isRunning();
var failed = cmd1.failed();
@@ -75,7 +54,7 @@ function EditableTests() {
var edit3 = ko.editable({ test: true }); // with anything
var edit4 = ko.editable(1); // with union types
- var edit5 = ko.editable("test");
+ var edit5 = ko.editable("test");
ko.editable.makeEditable(this);
@@ -119,7 +98,7 @@ function EditableArrayTests() {
function SortableTests() {
- // sorting is added via an extender, there are no .d.ts
+ // sorting is added via an extender, there are no .d.ts
// types for this at present
var sort1 = ko.observableArray([1, 2, 3]).extend({ sortable: true });
diff --git a/koa-logger/koa-logger-tests.ts b/koa-logger/koa-logger-tests.ts
index f2d17ba090..502c33255d 100644
--- a/koa-logger/koa-logger-tests.ts
+++ b/koa-logger/koa-logger-tests.ts
@@ -1,5 +1,3 @@
-///
-
import * as koa from 'koa';
import * as logger from 'koa-logger';
diff --git a/kolite/kolite-tests.ts b/kolite/kolite-tests.ts
index 539c284861..2ce3cbd0f0 100644
--- a/kolite/kolite-tests.ts
+++ b/kolite/kolite-tests.ts
@@ -1,6 +1,3 @@
-///
-///
-
function test_activityDefaults() {
ko.bindingHandlers.activity.defaultOptions = {
activityClass: 'fa fa-spinner fa-spin',
diff --git a/kue/kue-tests.ts b/kue/kue-tests.ts
index a66dc4384c..aa61ff2f6a 100644
--- a/kue/kue-tests.ts
+++ b/kue/kue-tests.ts
@@ -1,5 +1,3 @@
-///
-
import kue = require('kue');
// create our job queue
diff --git a/leaflet-curve/leaflet-curve-tests.ts b/leaflet-curve/leaflet-curve-tests.ts
index ec2461cbd2..3d8b319e63 100644
--- a/leaflet-curve/leaflet-curve-tests.ts
+++ b/leaflet-curve/leaflet-curve-tests.ts
@@ -1,5 +1,3 @@
-///
-
var osmUrl = 'http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png',
osmAttrib = '© OpenStreetMap contributors',
osm = L.tileLayer(osmUrl, {maxZoom: 18, attribution: osmAttrib}),
diff --git a/leaflet-draw/leaflet-draw-tests.ts b/leaflet-draw/leaflet-draw-tests.ts
index 4260eac263..6373687a03 100644
--- a/leaflet-draw/leaflet-draw-tests.ts
+++ b/leaflet-draw/leaflet-draw-tests.ts
@@ -1,5 +1,3 @@
-///
-
var osmUrl = 'http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png',
osmAttrib = '© OpenStreetMap contributors',
osm = L.tileLayer(osmUrl, {maxZoom: 18, attribution: osmAttrib}),
diff --git a/libpq/libpq-tests.ts b/libpq/libpq-tests.ts
index 8a9aced3c3..5736577e67 100644
--- a/libpq/libpq-tests.ts
+++ b/libpq/libpq-tests.ts
@@ -1,4 +1,3 @@
-///
///
import {Buffer} from 'buffer';
diff --git a/magicsuggest/magicsuggest-tests.ts b/magicsuggest/magicsuggest-tests.ts
index 46cb799d25..96a513a7b9 100644
--- a/magicsuggest/magicsuggest-tests.ts
+++ b/magicsuggest/magicsuggest-tests.ts
@@ -1,5 +1,3 @@
-///
-
function basicTest() {
$('#magicSuggest').magicSuggest();
}
diff --git a/mailcheck/mailcheck-tests.ts b/mailcheck/mailcheck-tests.ts
index 07fc473893..971ecf8218 100644
--- a/mailcheck/mailcheck-tests.ts
+++ b/mailcheck/mailcheck-tests.ts
@@ -1,5 +1,3 @@
-///
-
import MC = require('mailcheck');
var domains = ['gmail.com', 'aol.com'];
diff --git a/markitup/markitup-tests.ts b/markitup/markitup-tests.ts
index f8b12d3c00..b8a7675529 100644
--- a/markitup/markitup-tests.ts
+++ b/markitup/markitup-tests.ts
@@ -1,6 +1,3 @@
-///
-
-
// https://github.com/markitup/1.x/blob/master/markitup/sets/default/set.js
var mySettings = {
onShiftEnter: {
diff --git a/maskedinput/maskedinput-tests.ts b/maskedinput/maskedinput-tests.ts
index 6d620ce1b9..99c1ecb8bb 100644
--- a/maskedinput/maskedinput-tests.ts
+++ b/maskedinput/maskedinput-tests.ts
@@ -1,10 +1,3 @@
-// Type definitions for Masked Input plugin for jQuery
-// Project: http://digitalbush.com/projects/masked-input-plugin
-// Definitions by: Lokesh Peta
-// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
-
-///
-
$("#test").mask("9:000");
$("#test").mask("9:000", { numeric: true });
diff --git a/material-ui/material-ui-tests.tsx b/material-ui/material-ui-tests.tsx
index 06f75abe9a..0ea5a72352 100644
--- a/material-ui/material-ui-tests.tsx
+++ b/material-ui/material-ui-tests.tsx
@@ -1,8 +1,3 @@
-///
-///
-///
-///
-
import * as React from 'react';
import {Component, PropTypes} from 'react';
import * as ReactDOM from 'react-dom';
diff --git a/mcustomscrollbar/mcustomscrollbar-tests.ts b/mcustomscrollbar/mcustomscrollbar-tests.ts
index aecb236286..f00cd5a491 100644
--- a/mcustomscrollbar/mcustomscrollbar-tests.ts
+++ b/mcustomscrollbar/mcustomscrollbar-tests.ts
@@ -1,6 +1,3 @@
-///
-
-
class SimpleTest {
element: JQuery;
diff --git a/md5/md5-tests.ts b/md5/md5-tests.ts
index 427a93486a..924c9b8d91 100644
--- a/md5/md5-tests.ts
+++ b/md5/md5-tests.ts
@@ -1,5 +1,3 @@
-///
-
import fs = require("fs");
import md5 = require("md5");
/**
@@ -7,7 +5,7 @@ import md5 = require("md5");
* md5(message)
* message -- String or Buffer
* returns String
- *
+ *
* Usage
****************************************************
* var md5 = require('md5'); *
@@ -15,10 +13,10 @@ import md5 = require("md5");
****************************************************
* This will print the following
* 78e731027d8fd50ed642340b7c9a63b3
- *
+ *
* It supports buffers, too
- ****************************************************
- * var fs = require('fs'); *
+ ****************************************************
+ * var fs = require('fs'); *
* var md5 = require('md5'); *
* *
* fs.readFile('example.txt', function(err, buf) { *
diff --git a/meteor-roles/meteor-roles-tests.ts b/meteor-roles/meteor-roles-tests.ts
index 8f73f13208..50552c82ff 100644
--- a/meteor-roles/meteor-roles-tests.ts
+++ b/meteor-roles/meteor-roles-tests.ts
@@ -1,6 +1,3 @@
-///
-
-
import * as _ from 'underscore';
/**
diff --git a/metismenu/metismenu-tests.ts b/metismenu/metismenu-tests.ts
index eb17270021..64aa809cf7 100644
--- a/metismenu/metismenu-tests.ts
+++ b/metismenu/metismenu-tests.ts
@@ -1,5 +1,3 @@
-///
-
$('#menu').metisMenu();
$('.metismenu').metisMenu({toggle: false});
diff --git a/mssql/mssql-tests.ts b/mssql/mssql-tests.ts
index 52ae6f953c..764f6da8e1 100644
--- a/mssql/mssql-tests.ts
+++ b/mssql/mssql-tests.ts
@@ -1,5 +1,3 @@
-///
-
import sql = require('mssql');
interface Entity{
diff --git a/mu2/mu2-tests.ts b/mu2/mu2-tests.ts
index dc960f20d7..d85e1463b9 100644
--- a/mu2/mu2-tests.ts
+++ b/mu2/mu2-tests.ts
@@ -1,6 +1,3 @@
-
-///
-
import mu2 = require('mu2');
import stream = require('stream');
diff --git a/multiparty/multiparty-tests.ts b/multiparty/multiparty-tests.ts
index be49092189..839ca92882 100644
--- a/multiparty/multiparty-tests.ts
+++ b/multiparty/multiparty-tests.ts
@@ -1,5 +1,3 @@
-
-///
import multiparty = require('multiparty');
import http = require('http');
import util = require('util');
diff --git a/mz/mz-tests.ts b/mz/mz-tests.ts
index 8246eecbab..7eda9f28bf 100644
--- a/mz/mz-tests.ts
+++ b/mz/mz-tests.ts
@@ -1,7 +1,4 @@
///
-///
-
-
import assert = require('assert')
import fs = require('mz/fs')
diff --git a/n3/n3-tests.ts b/n3/n3-tests.ts
index a7e529bc7d..13247dfdb2 100644
--- a/n3/n3-tests.ts
+++ b/n3/n3-tests.ts
@@ -1,5 +1,3 @@
-///
-
import * as N3 from "n3";
import * as fs from "fs";
import * as stream from "stream";
@@ -26,7 +24,7 @@ function test_serialize() {
});
}
-/**
+/**
The following tests are taken from ...
https://github.com/RubenVerborgh/N3.js/blob/master/README.md
*/
diff --git a/ng-command/ng-command-tests.ts b/ng-command/ng-command-tests.ts
index c6eb344ed7..32f9bef158 100644
--- a/ng-command/ng-command-tests.ts
+++ b/ng-command/ng-command-tests.ts
@@ -1,5 +1,3 @@
-///
-
var app = angular.module('testModule', ['ng-command']);
class CommandTestController {
diff --git a/ng-dialog/ng-dialog-tests.ts b/ng-dialog/ng-dialog-tests.ts
index 6c867f422d..b66ed173b7 100644
--- a/ng-dialog/ng-dialog-tests.ts
+++ b/ng-dialog/ng-dialog-tests.ts
@@ -1,4 +1,3 @@
-///
import * as angular from 'angular';
var app = angular.module('testModule', ['ngDialog']);
diff --git a/ng-grid/ng-grid-tests.ts b/ng-grid/ng-grid-tests.ts
index f14e9cb540..c6331fdc15 100644
--- a/ng-grid/ng-grid-tests.ts
+++ b/ng-grid/ng-grid-tests.ts
@@ -1,5 +1,3 @@
-///
-
var options1: ngGrid.IGridOptions = {
data: [{ 'Name': 'Bob' }, { 'Name': 'Jane' }]
};
diff --git a/ng-notify/ng-notify-tests.ts b/ng-notify/ng-notify-tests.ts
index e140cb6130..9f81d25e87 100644
--- a/ng-notify/ng-notify-tests.ts
+++ b/ng-notify/ng-notify-tests.ts
@@ -1,5 +1,3 @@
-///
-
class NgNotifyTestController {
static $inject = ['$scope', 'ngNotify'];
diff --git a/ngprogress-lite/ngprogress-lite-tests.ts b/ngprogress-lite/ngprogress-lite-tests.ts
index c7df7f9b6b..c4b903d78b 100644
--- a/ngprogress-lite/ngprogress-lite-tests.ts
+++ b/ngprogress-lite/ngprogress-lite-tests.ts
@@ -1,6 +1,3 @@
-///
-
-
var app = angular.module('testApp', ['ngProgressLite']);
app.config(
diff --git a/node-hue-api/node-hue-api-tests.ts b/node-hue-api/node-hue-api-tests.ts
index 44903fa4da..44e24da9b1 100644
--- a/node-hue-api/node-hue-api-tests.ts
+++ b/node-hue-api/node-hue-api-tests.ts
@@ -1,5 +1,3 @@
-///
-
import hue = require('node-hue-api');
hue.nupnpSearch().then(function (bridges) {
diff --git a/node-int64/node-int64-tests.ts b/node-int64/node-int64-tests.ts
index 16df3a00ca..3235efa3d8 100644
--- a/node-int64/node-int64-tests.ts
+++ b/node-int64/node-int64-tests.ts
@@ -1,9 +1,5 @@
-///
-
// Play example copy
-
-
// First, let's illustrate the problem ...
(0x123456789).toString(16);
//!! '123456789' // <- what we expect.
diff --git a/node-mysql-wrapper/node-mysql-wrapper-tests.ts b/node-mysql-wrapper/node-mysql-wrapper-tests.ts
index 5b67969ffe..2811292fe6 100644
--- a/node-mysql-wrapper/node-mysql-wrapper-tests.ts
+++ b/node-mysql-wrapper/node-mysql-wrapper-tests.ts
@@ -1,7 +1,3 @@
-
-///
-///
-
var express = require('express');
var app = express();
var server = require('http').createServer(app);
diff --git a/nouislider/v7/nouislider-tests.ts b/nouislider/v7/nouislider-tests.ts
index 0bb6023774..08f9ebd74d 100644
--- a/nouislider/v7/nouislider-tests.ts
+++ b/nouislider/v7/nouislider-tests.ts
@@ -1,6 +1,3 @@
-
-///
-
//basic
var basicSlider = $("").noUiSlider({
start: 80,
diff --git a/npm/npm-tests.ts b/npm/npm-tests.ts
index ccebbdb35a..8ca5f01887 100644
--- a/npm/npm-tests.ts
+++ b/npm/npm-tests.ts
@@ -4,9 +4,6 @@
* Created by using code samples from https://github.com/npm/npm#using-npm-programmatically.
*/
-///
-
-
import npm = require("npm");
npm.load({}, function (er) {
diff --git a/on-finished/on-finished-tests.ts b/on-finished/on-finished-tests.ts
index 57040531fc..081e2cd37b 100644
--- a/on-finished/on-finished-tests.ts
+++ b/on-finished/on-finished-tests.ts
@@ -1,5 +1,3 @@
-///
-
import events = require('events');
import onFinished = require('on-finished');
diff --git a/onoff/onoff-tests.ts b/onoff/onoff-tests.ts
index cd39dc4a8d..21b47e7f99 100644
--- a/onoff/onoff-tests.ts
+++ b/onoff/onoff-tests.ts
@@ -1,5 +1,3 @@
-
-///
import * as onoff from 'onoff';
var led:onoff.Gpio = new onoff.Gpio(17, 'out');
diff --git a/openui5/openui5-tests.ts b/openui5/openui5-tests.ts
index 8dc19922ee..bb411a9a1e 100644
--- a/openui5/openui5-tests.ts
+++ b/openui5/openui5-tests.ts
@@ -1,7 +1,3 @@
-///
-///
-///
-
sap.ui.getCore().attachInit(function () {
new sap.m.Text({
text: "Hello World"
diff --git a/oracledb/oracledb-tests.ts b/oracledb/oracledb-tests.ts
index 15446df243..b4d1cf5fe9 100644
--- a/oracledb/oracledb-tests.ts
+++ b/oracledb/oracledb-tests.ts
@@ -1,5 +1,3 @@
-///
-
import * as OracleDB from 'oracledb';
OracleDB.getConnection(
diff --git a/owlcarousel/owlcarousel-tests.ts b/owlcarousel/owlcarousel-tests.ts
index 3d9ed9a69b..0d2e1b6118 100644
--- a/owlcarousel/owlcarousel-tests.ts
+++ b/owlcarousel/owlcarousel-tests.ts
@@ -1,6 +1,3 @@
-///
-
-
$(".className").owlCarousel();
$(".className").owlCarousel({
diff --git a/passport-beam/passport-beam-tests.ts b/passport-beam/passport-beam-tests.ts
index edfa3f1396..4448dad045 100644
--- a/passport-beam/passport-beam-tests.ts
+++ b/passport-beam/passport-beam-tests.ts
@@ -1,5 +1,3 @@
-///
-
/**
* Created by AtlasDev on 4/10/2016.
*/
diff --git a/passport-http/passport-http-tests.ts b/passport-http/passport-http-tests.ts
index 22a486e6ec..4a70d30b89 100644
--- a/passport-http/passport-http-tests.ts
+++ b/passport-http/passport-http-tests.ts
@@ -1,5 +1,3 @@
-///
-
/**
* Created by Christophe Vidal
*/
diff --git a/paymentrequest/paymentrequest-tests.ts b/paymentrequest/paymentrequest-tests.ts
index 62c2721bfb..c8772b115c 100644
--- a/paymentrequest/paymentrequest-tests.ts
+++ b/paymentrequest/paymentrequest-tests.ts
@@ -1,5 +1,3 @@
-///
-
/// Code examples derived from
/// https://developers.google.com/web/fundamentals/discovery-and-monetization/payment-request/
diff --git a/peerjs/peerjs-tests.ts b/peerjs/peerjs-tests.ts
index 373df3ba2f..2246e6a8fd 100644
--- a/peerjs/peerjs-tests.ts
+++ b/peerjs/peerjs-tests.ts
@@ -1,5 +1,3 @@
-///
-
var peerByOption: PeerJs.Peer = new Peer({
key: 'peerKey',
debug: 3,
diff --git a/phantomcss/index.d.ts b/phantomcss/index.d.ts
index 451c250372..688c706199 100644
--- a/phantomcss/index.d.ts
+++ b/phantomcss/index.d.ts
@@ -3,8 +3,8 @@
// Definitions by: Amaury Bauzac
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
-import { Casper } from 'casperjs';
///
+import { Casper } from 'casperjs';
declare global {
namespace PhantomCSS {
diff --git a/phantomcss/phantomcss-tests.ts b/phantomcss/phantomcss-tests.ts
index 8478bbd323..ee16832fae 100644
--- a/phantomcss/phantomcss-tests.ts
+++ b/phantomcss/phantomcss-tests.ts
@@ -1,7 +1,3 @@
-
-///
-///
-
// phantomCSS 0.11.1 is based on resemblejs 1.2.1, phantomJS 1.9.2 , casperJS 1.1.0-DEV
var options: PhantomCSS.PhantomCSSOptions = {
@@ -39,8 +35,8 @@ var options: PhantomCSS.PhantomCSSOptions = {
});
},
- fileNameGetter: function(root:string,filename:string){
-
+ fileNameGetter: function(root:string,filename:string){
+
return root+filename;
},
@@ -65,7 +61,7 @@ declare var phantomcss:PhantomCSS.PhantomCSS;
phantomcss.turnOffAnimations();
phantomcss.init(options);
-phantomcss.compareAll('exclude.test');
+phantomcss.compareAll('exclude.test');
phantomcss.compareMatched('include.test', 'exclude.test');
phantomcss.compareMatched( new RegExp('include.test'), new RegExp('exclude.test'));
phantomcss.compareSession();
diff --git a/phonon/phonon-tests.ts b/phonon/phonon-tests.ts
index b817fef45b..6b9851b642 100644
--- a/phonon/phonon-tests.ts
+++ b/phonon/phonon-tests.ts
@@ -1,5 +1,3 @@
-///
-
// Code examples from http://phonon.quarkdev.com/docs/navigator
phonon.options({
navigator: {
diff --git a/piwik-tracker/piwik-tracker-tests.ts b/piwik-tracker/piwik-tracker-tests.ts
index 3e7506d5fd..f1545a843a 100644
--- a/piwik-tracker/piwik-tracker-tests.ts
+++ b/piwik-tracker/piwik-tracker-tests.ts
@@ -1,22 +1,20 @@
-///
-
// Example code taken from https://www.npmjs.com/package/piwik-tracker
var PiwikTracker = require('piwik-tracker');
-
-// Initialize with your site ID and Piwik URL
+
+// Initialize with your site ID and Piwik URL
var piwik = new PiwikTracker(1, 'http://mywebsite.com/piwik.php');
-
-// Optional: Respond to tracking errors
+
+// Optional: Respond to tracking errors
piwik.on('error', function(err : Error) {
console.log('error tracking request: ', err)
})
-
-// Track a request URL:
-// Either as a simple string …
+
+// Track a request URL:
+// Either as a simple string …
piwik.track('http://example.com/track/this/url');
-
-// … or provide further options:
+
+// … or provide further options:
piwik.track({
url: 'http://example.com/track/this/url',
action_name: 'This will be shown in your dashboard',
diff --git a/pkcs11js/pkcs11js-tests.ts b/pkcs11js/pkcs11js-tests.ts
index 52ffd4e8f8..30501be11f 100644
--- a/pkcs11js/pkcs11js-tests.ts
+++ b/pkcs11js/pkcs11js-tests.ts
@@ -1,5 +1,3 @@
-///
-
import * as pkcs11js from "pkcs11js";
const libPath = "C:\\tmp\\rtpkcs11ecp.dll";
diff --git a/pouchdb-find/pouchdb-find-tests.ts b/pouchdb-find/pouchdb-find-tests.ts
index 8d677276fc..bebdc58cc1 100644
--- a/pouchdb-find/pouchdb-find-tests.ts
+++ b/pouchdb-find/pouchdb-find-tests.ts
@@ -1,5 +1,3 @@
-///
-
namespace PouchDBFindTests {
function testFind() {
diff --git a/pouchdb-replication/pouchdb-replication-tests.ts b/pouchdb-replication/pouchdb-replication-tests.ts
index 6ff426bd0c..3cb6d6bc17 100644
--- a/pouchdb-replication/pouchdb-replication-tests.ts
+++ b/pouchdb-replication/pouchdb-replication-tests.ts
@@ -1,5 +1,3 @@
-///
-
namespace PouchDBReplicationTests {
/** @todo make some real tests */
diff --git a/project-oxford/project-oxford-tests.ts b/project-oxford/project-oxford-tests.ts
index d04a77a762..ea2849d986 100644
--- a/project-oxford/project-oxford-tests.ts
+++ b/project-oxford/project-oxford-tests.ts
@@ -1,6 +1,3 @@
-
-///
-///
///
import oxford = require("project-oxford");
diff --git a/promised-temp/promised-temp-tests.ts b/promised-temp/promised-temp-tests.ts
index ebe0a51517..ec14855d8b 100644
--- a/promised-temp/promised-temp-tests.ts
+++ b/promised-temp/promised-temp-tests.ts
@@ -1,6 +1,3 @@
-
-///
-
import * as fs from "fs";
import temp from 'promised-temp';
import { AffixOptions, OpenFile, Stats } from "promised-temp";
diff --git a/promptly/promptly-tests.ts b/promptly/promptly-tests.ts
index 05b8bf70ed..fbd1fd5bb7 100644
--- a/promptly/promptly-tests.ts
+++ b/promptly/promptly-tests.ts
@@ -1,5 +1,3 @@
-///
-
import promptly = require('promptly');
process.stdin
diff --git a/radius/radius-tests.ts b/radius/radius-tests.ts
index c3b50db8ec..36e9ea618d 100644
--- a/radius/radius-tests.ts
+++ b/radius/radius-tests.ts
@@ -1,6 +1,3 @@
-
-///
-
import radius = require('radius');
var radius_secret: string = "shhhh"
diff --git a/rangyinputs/rangyinputs-tests.ts b/rangyinputs/rangyinputs-tests.ts
index cb627d85b1..14f769a9fe 100644
--- a/rangyinputs/rangyinputs-tests.ts
+++ b/rangyinputs/rangyinputs-tests.ts
@@ -1,5 +1,3 @@
-///
-
let $obj: JQuery = $('meh');
let selection: RangyInputs.Selection = $obj.getSelection();
diff --git a/raty/raty-tests.ts b/raty/raty-tests.ts
index bb2f731038..51b510b0a3 100644
--- a/raty/raty-tests.ts
+++ b/raty/raty-tests.ts
@@ -1,7 +1,3 @@
-///
-
-
-
var $element: JQuery = $('');
$element.raty();
diff --git a/rc-select/rc-select-tests.ts b/rc-select/rc-select-tests.ts
index f2ec85ae09..976d789c2c 100644
--- a/rc-select/rc-select-tests.ts
+++ b/rc-select/rc-select-tests.ts
@@ -1,10 +1,7 @@
-
-///
-
import React = require('react');
import RcSelect = require('rc-select');
-class Component extends React.Component {
+class Component extends React.Component {
private onChange(value: any) {
console.log('selected', value);
@@ -54,7 +51,7 @@ class Component extends React.Component {
className: "option",
disabled: true,
key: "option-0",
- value: "option-0"
+ value: "option-0"
};
private createOptions(count: number) {
@@ -75,7 +72,7 @@ class Component extends React.Component {
let options = this.createOptions(10);
- let optionGroup = React.createElement(RcSelect.OptGroup, this.defaultOptGroupProps, options);
+ let optionGroup = React.createElement(RcSelect.OptGroup, this.defaultOptGroupProps, options);
let select = React.createElement(RcSelect.default, this.defaultSelectProps, optionGroup);
diff --git a/react-bootstrap/react-bootstrap-tests.tsx b/react-bootstrap/react-bootstrap-tests.tsx
index 987203fbf8..432636559b 100644
--- a/react-bootstrap/react-bootstrap-tests.tsx
+++ b/react-bootstrap/react-bootstrap-tests.tsx
@@ -1,9 +1,3 @@
-// React-Bootstrap Test
-// ================================================================================
-///
-
-// Imports
-// --------------------------------------------------------------------------------
import * as React from 'react';
import { Component, CSSProperties } from 'react';
import {
diff --git a/react-datagrid/react-datagrid-tests.tsx b/react-datagrid/react-datagrid-tests.tsx
index 061be471f4..bdbca39f01 100644
--- a/react-datagrid/react-datagrid-tests.tsx
+++ b/react-datagrid/react-datagrid-tests.tsx
@@ -1,6 +1,3 @@
-
-///
-
import * as React from "react";
import ReactDataGrid = require("react-datagrid");
diff --git a/react-dnd-html5-backend/react-dnd-html5-backend-tests.ts b/react-dnd-html5-backend/react-dnd-html5-backend-tests.ts
index 83ee1bc9ba..68703d062d 100644
--- a/react-dnd-html5-backend/react-dnd-html5-backend-tests.ts
+++ b/react-dnd-html5-backend/react-dnd-html5-backend-tests.ts
@@ -1,5 +1,3 @@
-"use strict";
-
// Test adapted from the ReactDnD chess game tutorial:
// http://gaearon.github.io/react-dnd/docs-tutorial.html
diff --git a/react-dnd/UNUSED_FILES.txt b/react-dnd/UNUSED_FILES.txt
deleted file mode 100644
index ff694923a2..0000000000
--- a/react-dnd/UNUSED_FILES.txt
+++ /dev/null
@@ -1 +0,0 @@
-react-dnd-test-backend.d.ts
\ No newline at end of file
diff --git a/react-dnd/react-dnd-test-backend.d.ts b/react-dnd/react-dnd-test-backend.d.ts
deleted file mode 100644
index 095c890483..0000000000
--- a/react-dnd/react-dnd-test-backend.d.ts
+++ /dev/null
@@ -1,20 +0,0 @@
-// Type definitions for React DnD HTML 5 Backend v2.0.0
-// Project: https://github.com/gaearon/react-dnd
-// Definitions by: Asana
-// Definitions: https://github.com/borisyankov/DefinitelyTyped
-
-declare module "react-dnd-test-backend" {
- class TestBackend {
- setup(): void;
- teardown(): void;
- connectDragSource(): void;
- connectDropTarget(): void;
- simulateBeginDrag(sourceIds: __ReactDnd.Identifier[], options?: {}): void;
- simulatePublishDragSource(): void;
- simulateHover(targetIds: __ReactDnd.Identifier[], options?: {}): void;
- simulateDrop(): void;
- simulateEndDrag(): void;
- }
-
- export { TestBackend as default };
-}
diff --git a/react-dnd/react-dnd-tests.ts b/react-dnd/react-dnd-tests.ts
index fdef2b727c..0aabefd26e 100644
--- a/react-dnd/react-dnd-tests.ts
+++ b/react-dnd/react-dnd-tests.ts
@@ -1,6 +1,3 @@
-///
-"use strict";
-
// Test adapted from the ReactDnD chess game tutorial:
// http://gaearon.github.io/react-dnd/docs-tutorial.html
@@ -14,7 +11,17 @@ import DropTarget = ReactDnd.DropTarget;
import DragLayer = ReactDnd.DragLayer;
import DragDropContext = ReactDnd.DragDropContext;
import HTML5Backend, { getEmptyImage, NativeTypes } from "react-dnd-html5-backend";
-import TestBackend from "react-dnd-test-backend";
+declare class TestBackend {
+ setup(): void;
+ teardown(): void;
+ connectDragSource(): void;
+ connectDropTarget(): void;
+ simulateBeginDrag(sourceIds: __ReactDnd.Identifier[], options?: {}): void;
+ simulatePublishDragSource(): void;
+ simulateHover(targetIds: __ReactDnd.Identifier[], options?: {}): void;
+ simulateDrop(): void;
+ simulateEndDrag(): void;
+}
// Game Component
// ----------------------------------------------------------------------
diff --git a/react-dropzone/react-dropzone-tests.tsx b/react-dropzone/react-dropzone-tests.tsx
index 322fd82e8c..ec6d5fa763 100644
--- a/react-dropzone/react-dropzone-tests.tsx
+++ b/react-dropzone/react-dropzone-tests.tsx
@@ -1,5 +1,3 @@
-///
-///
import * as React from 'react';
import * as Dropzone from 'react-dropzone';
diff --git a/react-helmet/react-helmet-tests.tsx b/react-helmet/react-helmet-tests.tsx
index 3a4a3f09d7..e6b78955b3 100644
--- a/react-helmet/react-helmet-tests.tsx
+++ b/react-helmet/react-helmet-tests.tsx
@@ -1,6 +1,3 @@
-
-///
-
import * as React from 'react';
import * as Helmet from 'react-helmet';
diff --git a/react-infinite/react-infinite-tests.tsx b/react-infinite/react-infinite-tests.tsx
index 807fc67498..ea68999afc 100644
--- a/react-infinite/react-infinite-tests.tsx
+++ b/react-infinite/react-infinite-tests.tsx
@@ -1,6 +1,3 @@
-///
-///
-
import * as React from 'react';
import Infinite = require('react-infinite');
diff --git a/react-input-calendar/react-input-calendar-tests.tsx b/react-input-calendar/react-input-calendar-tests.tsx
index aaab1dc398..4cd465d9c5 100644
--- a/react-input-calendar/react-input-calendar-tests.tsx
+++ b/react-input-calendar/react-input-calendar-tests.tsx
@@ -1,6 +1,3 @@
-///
-///
-
import * as ReactInputCalendar from 'react-input-calendar';
import * as React from 'react';
import * as ReactDOM from 'react-dom';
diff --git a/react-intl/react-intl-tests.tsx b/react-intl/react-intl-tests.tsx
index 400879677f..d3477aaa11 100644
--- a/react-intl/react-intl-tests.tsx
+++ b/react-intl/react-intl-tests.tsx
@@ -3,8 +3,6 @@
* Updated by Fedor Nezhivoi
*/
-///
-
import * as React from "react"
import * as reactMixin from "react-mixin"
diff --git a/react-intl/v1/react-intl-tests.tsx b/react-intl/v1/react-intl-tests.tsx
index 6abebe36cd..c7834b6583 100644
--- a/react-intl/v1/react-intl-tests.tsx
+++ b/react-intl/v1/react-intl-tests.tsx
@@ -2,8 +2,6 @@
* Created by Bruno Grieder
*/
-///
-
import * as React from 'react'
import * as reactMixin from 'react-mixin'
diff --git a/react-mixin/react-mixin-tests.tsx b/react-mixin/react-mixin-tests.tsx
index 04f6f4b202..f275869a9e 100644
--- a/react-mixin/react-mixin-tests.tsx
+++ b/react-mixin/react-mixin-tests.tsx
@@ -1,6 +1,3 @@
-
-///
-
import reactMixin = require('react-mixin');
import * as React from 'react';
diff --git a/react-native/test/animated.tsx b/react-native/test/animated.tsx
index 632f2c0151..3b3457384c 100644
--- a/react-native/test/animated.tsx
+++ b/react-native/test/animated.tsx
@@ -1,5 +1,3 @@
-///
-
import * as React from 'react-native'
import {
diff --git a/react-native/test/index.tsx b/react-native/test/index.tsx
index 6e05cdeabe..32bcbe931b 100644
--- a/react-native/test/index.tsx
+++ b/react-native/test/index.tsx
@@ -1,8 +1,4 @@
-
/*
-
-Note: This must be compiled with the target set to ES6
-
The content of index.io.js could be something like
'use strict';
@@ -12,13 +8,8 @@ The content of index.io.js could be something like
AppRegistry.registerComponent('MopNative', () => Welcome);
-
For a list of complete Typescript examples: check https://github.com/bgrieder/RNTSExplorer
-
- */
-
-///
-
+*/
import * as React from 'react-native'
import {
diff --git a/react-onclickoutside/react-onclickoutside-tests.tsx b/react-onclickoutside/react-onclickoutside-tests.tsx
index dabba332b1..fc782bb68c 100644
--- a/react-onclickoutside/react-onclickoutside-tests.tsx
+++ b/react-onclickoutside/react-onclickoutside-tests.tsx
@@ -1,8 +1,3 @@
-// React onClickOutside Test
-// ================================================================================
-
-// Imports
-// --------------------------------------------------------------------------------
import * as React from "react"
import { Component, StatelessComponent, MouseEvent } from "react"
import { render } from "react-dom"
diff --git a/react-props-decorators/react-props-decorators-tests.ts b/react-props-decorators/react-props-decorators-tests.ts
index 562d4f3d12..654c2df98f 100644
--- a/react-props-decorators/react-props-decorators-tests.ts
+++ b/react-props-decorators/react-props-decorators-tests.ts
@@ -1,6 +1,3 @@
-
-///
-
import * as React from 'react';
import { propTypes, defaultProps } from 'react-props-decorators';
diff --git a/react-router-bootstrap/react-router-bootstrap-tests.tsx b/react-router-bootstrap/react-router-bootstrap-tests.tsx
index d4f8733c03..7816933fe6 100644
--- a/react-router-bootstrap/react-router-bootstrap-tests.tsx
+++ b/react-router-bootstrap/react-router-bootstrap-tests.tsx
@@ -1,16 +1,8 @@
-// React-Router-Bootstrap Test
-// ================================================================================
-///
-///
-
-// Imports
-// --------------------------------------------------------------------------------
import * as React from 'react';
import { Component, CSSProperties } from 'react';
import { Button } from 'react-bootstrap';
import { LinkContainer, IndexLinkContainer } from 'react-router-bootstrap'
-
export class ReactRouterBootstrapTest extends Component {
callback() {
alert('Callback: ' + JSON.stringify(arguments));
@@ -20,7 +12,7 @@ export class ReactRouterBootstrapTest extends Component {
let style: CSSProperties = { padding: '50px' };
return (
-
+
diff --git a/react-scroll/react-scroll-tests.tsx b/react-scroll/react-scroll-tests.tsx
index b5d2fb2245..63db573722 100644
--- a/react-scroll/react-scroll-tests.tsx
+++ b/react-scroll/react-scroll-tests.tsx
@@ -1,5 +1,3 @@
-///
-
import * as React from 'react';
import { Link, Element, scroller } from 'react-scroll';
diff --git a/react-spinkit/react-spinkit-tests.tsx b/react-spinkit/react-spinkit-tests.tsx
index a163400601..8ceb7b0a89 100644
--- a/react-spinkit/react-spinkit-tests.tsx
+++ b/react-spinkit/react-spinkit-tests.tsx
@@ -1,6 +1,3 @@
-
-///
-
import * as Spinner from 'react-spinkit';
import * as React from 'react';
diff --git a/react-tabs/react-tabs-tests.ts b/react-tabs/react-tabs-tests.ts
index b067987518..9998bcafbd 100644
--- a/react-tabs/react-tabs-tests.ts
+++ b/react-tabs/react-tabs-tests.ts
@@ -1,7 +1,3 @@
-
-///
-///
-
import React = require("react");
import ReactDOM = require("react-dom");
import { Tabs, TabList, Tab, TabPanel } from "react-tabs";
diff --git a/react-tagcloud/react-tagcloud-tests.tsx b/react-tagcloud/react-tagcloud-tests.tsx
index d0594314bc..552cc20e2d 100644
--- a/react-tagcloud/react-tagcloud-tests.tsx
+++ b/react-tagcloud/react-tagcloud-tests.tsx
@@ -1,8 +1,3 @@
-///
-///
-
-
-
// simple cloud
import * as React from "react";
import * as ReactDOM from "react-dom";
diff --git a/react-widgets/react-widgets-tests.tsx b/react-widgets/react-widgets-tests.tsx
index a108d8e513..0f66458c36 100644
--- a/react-widgets/react-widgets-tests.tsx
+++ b/react-widgets/react-widgets-tests.tsx
@@ -1,8 +1,3 @@
-
-///
-///
-
-
import * as React from "react"
import * as ReactDOM from "react-dom"
@@ -45,10 +40,10 @@ class Test extends React.Component, {}> {
itemComponent={itemComponent}
/>
diff --git a/readdir-stream/readdir-stream-tests.ts b/readdir-stream/readdir-stream-tests.ts
index f0a2dba78b..d808bc5b6d 100644
--- a/readdir-stream/readdir-stream-tests.ts
+++ b/readdir-stream/readdir-stream-tests.ts
@@ -1,6 +1,3 @@
-
-///
-
import readdir = require('readdir-stream');
var rs: NodeJS.ReadableStream;
diff --git a/redux-debounced/redux-debounced-tests.ts b/redux-debounced/redux-debounced-tests.ts
index f33050e394..ad83e40bc5 100644
--- a/redux-debounced/redux-debounced-tests.ts
+++ b/redux-debounced/redux-debounced-tests.ts
@@ -1,5 +1,3 @@
-///
-
import { applyMiddleware } from 'redux';
import createDebounce from 'redux-debounced';
diff --git a/redux-devtools-dock-monitor/redux-devtools-dock-monitor-tests.tsx b/redux-devtools-dock-monitor/redux-devtools-dock-monitor-tests.tsx
index 5a99ba665a..7e33588a41 100644
--- a/redux-devtools-dock-monitor/redux-devtools-dock-monitor-tests.tsx
+++ b/redux-devtools-dock-monitor/redux-devtools-dock-monitor-tests.tsx
@@ -1,5 +1,3 @@
-///
-
import * as React from 'react'
import DockMonitor from 'redux-devtools-dock-monitor'
diff --git a/redux-devtools-log-monitor/redux-devtools-log-monitor-tests.tsx b/redux-devtools-log-monitor/redux-devtools-log-monitor-tests.tsx
index 48a655bea2..477f4bbc55 100644
--- a/redux-devtools-log-monitor/redux-devtools-log-monitor-tests.tsx
+++ b/redux-devtools-log-monitor/redux-devtools-log-monitor-tests.tsx
@@ -1,5 +1,3 @@
-///
-
import * as React from 'react'
import LogMonitor from 'redux-devtools-log-monitor'
diff --git a/redux-devtools/redux-devtools-tests.tsx b/redux-devtools/redux-devtools-tests.tsx
index 10e20b7e87..695fbe60ff 100644
--- a/redux-devtools/redux-devtools-tests.tsx
+++ b/redux-devtools/redux-devtools-tests.tsx
@@ -1,6 +1,3 @@
-///
-///
-
import * as React from 'react'
import { compose, createStore, Reducer, Store, StoreEnhancerStoreCreator } from 'redux'
import { Provider } from 'react-redux'
diff --git a/resolve/resolve-tests.ts b/resolve/resolve-tests.ts
index 3cac830c58..1f9f50b5ee 100644
--- a/resolve/resolve-tests.ts
+++ b/resolve/resolve-tests.ts
@@ -1,5 +1,3 @@
-///
-
import * as fs from 'fs';
import * as resolve from 'resolve';
diff --git a/rx.wamp/rx.wamp-tests.ts b/rx.wamp/rx.wamp-tests.ts
index 2b6d4c95bc..3bd6ddbffb 100644
--- a/rx.wamp/rx.wamp-tests.ts
+++ b/rx.wamp/rx.wamp-tests.ts
@@ -1,6 +1,3 @@
-
-///
-
import * as autobahn from "autobahn";
import {IWampEvent} from "rx.wamp";
diff --git a/s3-upload-stream/s3-upload-stream-tests.ts b/s3-upload-stream/s3-upload-stream-tests.ts
index ef03000ad2..0f02beb63f 100644
--- a/s3-upload-stream/s3-upload-stream-tests.ts
+++ b/s3-upload-stream/s3-upload-stream-tests.ts
@@ -1,6 +1,3 @@
-///
-///
-
import * as fs from 'fs';
import * as S3Stream from 's3-upload-stream';
import * as AWS from 'aws-sdk';
diff --git a/sax/sax-tests.ts b/sax/sax-tests.ts
index 4d9a90293d..5b11ab425e 100644
--- a/sax/sax-tests.ts
+++ b/sax/sax-tests.ts
@@ -1,5 +1,3 @@
-///
-
import sax = require("sax");
import fs = require("fs");
diff --git a/seamless/seamless-tests.ts b/seamless/seamless-tests.ts
index 4aa1ab3aba..40ba1868be 100644
--- a/seamless/seamless-tests.ts
+++ b/seamless/seamless-tests.ts
@@ -1,5 +1,3 @@
-///
-
/* Create Parent Seamless IFrame */
$('#myiframe').seamless();
$('#myiframe').seamless({
diff --git a/select2/select2-tests.ts b/select2/select2-tests.ts
index ade378ee71..c10b482cab 100644
--- a/select2/select2-tests.ts
+++ b/select2/select2-tests.ts
@@ -1,6 +1,3 @@
-///
-
-
$("#e9").select2();
$("#e2").select2({
placeholder: "Select a State",
diff --git a/selectize/selectize-tests.ts b/selectize/selectize-tests.ts
index b2ec9e0a29..10b12c91f2 100644
--- a/selectize/selectize-tests.ts
+++ b/selectize/selectize-tests.ts
@@ -1,6 +1,3 @@
-///
-
-
var $input = $(".test-input").selectize();
var testApi = $input[0].selectize;
diff --git a/shelljs/shelljs-tests.ts b/shelljs/shelljs-tests.ts
index 6c155e5aee..03f439af02 100644
--- a/shelljs/shelljs-tests.ts
+++ b/shelljs/shelljs-tests.ts
@@ -1,11 +1,5 @@
-// Tests for shelljs.d.ts
-// Project: http://shelljs.org
-// Definitions by: Niklas Mollenhauer
-// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// Tests taken from documentation samples.
-///
-
import shell = require("shelljs");
if (!shell.which("git"))
diff --git a/sinon-as-promised/sinon-as-promised-tests.ts b/sinon-as-promised/sinon-as-promised-tests.ts
index 10602a3e8d..4663c1df12 100644
--- a/sinon-as-promised/sinon-as-promised-tests.ts
+++ b/sinon-as-promised/sinon-as-promised-tests.ts
@@ -1,5 +1,3 @@
-///
-
function testResolve() {
sinon.stub().resolves('test val');
}
diff --git a/sinon-mongoose/sinon-mongoose-tests.ts b/sinon-mongoose/sinon-mongoose-tests.ts
index b58a4e5e58..c64030240e 100644
--- a/sinon-mongoose/sinon-mongoose-tests.ts
+++ b/sinon-mongoose/sinon-mongoose-tests.ts
@@ -1,5 +1,3 @@
-///
-
function testChain() {
sinon.stub().chain('exec');
}
diff --git a/slick-carousel/slick-carousel-tests.ts b/slick-carousel/slick-carousel-tests.ts
index 5cb75a619d..3cf05a2e0c 100644
--- a/slick-carousel/slick-carousel-tests.ts
+++ b/slick-carousel/slick-carousel-tests.ts
@@ -1,7 +1,3 @@
-///
-///
-
-
// --------------------------------------------------------
// ------------------- WEBSITE EXAMPLE --------------------
// ---------- http://kenwheeler.github.io/slick/ ----------
diff --git a/slickgrid/test/index.ts b/slickgrid/test/index.ts
index e6570c2985..d87bc2240c 100644
--- a/slickgrid/test/index.ts
+++ b/slickgrid/test/index.ts
@@ -1,6 +1,3 @@
-///
-
-
interface MyData extends Slick.SlickData {
title: string;
duration: string;
diff --git a/socket.io-redis/socket.io-redis-tests.ts b/socket.io-redis/socket.io-redis-tests.ts
index 28b0f9873f..6ced0b31de 100644
--- a/socket.io-redis/socket.io-redis-tests.ts
+++ b/socket.io-redis/socket.io-redis-tests.ts
@@ -1,5 +1,3 @@
-///
-
import socketIO = require('socket.io');
import ioRedis = require('socket.io-redis');
import redis = require('redis');
diff --git a/socket.io.users/socket.io.users-tests.ts b/socket.io.users/socket.io.users-tests.ts
index 565f6a7d7b..24557ef6c5 100644
--- a/socket.io.users/socket.io.users-tests.ts
+++ b/socket.io.users/socket.io.users-tests.ts
@@ -1,7 +1,3 @@
-///
-
-///
-
var express = require('express');
var app = express();
var httpServer = require('http').createServer(app);
diff --git a/source-list-map/source-list-map-tests.ts b/source-list-map/source-list-map-tests.ts
index 5fe932efc5..8c367d582c 100644
--- a/source-list-map/source-list-map-tests.ts
+++ b/source-list-map/source-list-map-tests.ts
@@ -1,4 +1,3 @@
-///
import * as slm from 'source-list-map';
const node = new slm.CodeNode('hello');
diff --git a/spectrum/spectrum-tests.ts b/spectrum/spectrum-tests.ts
index e9bf388bbe..e52bd36ce9 100644
--- a/spectrum/spectrum-tests.ts
+++ b/spectrum/spectrum-tests.ts
@@ -1,6 +1,3 @@
-///
-
-
$("#picker").spectrum();
$("#picker").spectrum({
diff --git a/split/split-tests.ts b/split/split-tests.ts
index 204a044b68..98308fbc10 100644
--- a/split/split-tests.ts
+++ b/split/split-tests.ts
@@ -1,6 +1,3 @@
-
-///
-
import stream = require("stream");
import split = require("split");
diff --git a/sql.js/sql.js-tests.ts b/sql.js/sql.js-tests.ts
index 0829f7692a..52f44c7438 100644
--- a/sql.js/sql.js-tests.ts
+++ b/sql.js/sql.js-tests.ts
@@ -1,6 +1,3 @@
-///
-
-
import fs = require("fs");
import * as SQL from "sql.js";
diff --git a/ss-utils/ss-utils-tests.ts b/ss-utils/ss-utils-tests.ts
index 71934fed54..9bbd30da9a 100644
--- a/ss-utils/ss-utils-tests.ts
+++ b/ss-utils/ss-utils-tests.ts
@@ -1,6 +1,3 @@
-///
-
-
declare var EventSource : ssutils.IEventSourceStatic;
function test_ssutils() {
@@ -13,7 +10,7 @@ function test_ssutils() {
onHeartbeat: function(msg:ssutils.SSEHeartbeat, e:MessageEvent){},
onJoin: function(msg:ssutils.SSEJoin) {},
onLeave: function(msg:ssutils.SSELeave) {},
- onUpdate: function(msg:ssutils.SSEUpdate) {}
+ onUpdate: function(msg:ssutils.SSEUpdate) {}
},
receivers: {
tv: {
@@ -26,7 +23,7 @@ function test_ssutils() {
announce: function (msg:string) {}
})
.on('customEvent', function (e, msg, msgEvent) { });
-
+
$.ss.handlers["changeChannel"]("home");
}
@@ -39,7 +36,7 @@ function test_jQuery_functions(){
overrideMessages: true,
messages: {"NotFound": "Not Found"},
errorFilter: function(errorMsg, errorCode, type){}
- });
+ });
$("form").applyValues({
"Key": "Value"
});
@@ -58,8 +55,8 @@ function test_ssutils_Static(){
dateFmt = $.ss.dfmt(new Date(2001,1,1));
dateFmt = $.ss.dfmthm(new Date(2001,1,1));
dateFmt = $.ss.tfmt12(new Date(2001,1,1));
- var parts:string[] = $.ss.splitOnFirst("A;B;C",";");
- parts = $.ss.splitOnLast("A;B;C", ";");
+ var parts:string[] = $.ss.splitOnFirst("A;B;C",";");
+ parts = $.ss.splitOnLast("A;B;C", ";");
var selectedText = $.ss.getSelection();
var qs:{ [index: string]: string } = $.ss.queryString("http://google.com?a=b&c=d");
var relativePath = $.ss.createUrl("/path/to/{File}", {File:"file.js"});
@@ -69,7 +66,7 @@ function test_ssutils_Static(){
$.ss.normalize({"AA":1,"bB":2,"C":{"A":11,"B":22},"D":[1,2],"E":[{"A":111,"B":222}]}, true);
$.ss.parseResponseStatus('{"message":"test"}');
$.ss.postJSON("/path/to/url", {json:"data"}, function(r:any) {});
-
+
$.ss.listenOn = "click onmousedown";
$.ss.eventReceivers = { "document": document };
$.ss.handlers["changeChannel"]("home");
diff --git a/static-eval/static-eval-tests.ts b/static-eval/static-eval-tests.ts
index d4307c50f4..bfe30f723f 100644
--- a/static-eval/static-eval-tests.ts
+++ b/static-eval/static-eval-tests.ts
@@ -1,5 +1,3 @@
-///
-
import evaluate = require('static-eval');
import esprima = require('esprima');
import * as ESTree from 'estree';
diff --git a/stream-to-array/stream-to-array-tests.ts b/stream-to-array/stream-to-array-tests.ts
index c011f3e542..6b3ccc84fb 100644
--- a/stream-to-array/stream-to-array-tests.ts
+++ b/stream-to-array/stream-to-array-tests.ts
@@ -1,6 +1,3 @@
-
-///
-
import toArray = require('stream-to-array');
var rs: NodeJS.ReadableStream;
diff --git a/stylus/stylus-tests.ts b/stylus/stylus-tests.ts
index 7c5a8b1e45..248b6a9a04 100644
--- a/stylus/stylus-tests.ts
+++ b/stylus/stylus-tests.ts
@@ -1,13 +1,9 @@
-/**
- * Test suite created by Maxime LUCE
- *
+/**
+ * Test suite created by Maxime LUCE
+ *
* Created by using code samples from https://github.com/LearnBoost/stylus/blob/master/docs/js.md.
*/
-///
-
-
-
import stylus = require("stylus");
var str = "This is a stylus test";
diff --git a/superagent/superagent-tests.ts b/superagent/superagent-tests.ts
index 3252b01c96..3b8539ffe5 100644
--- a/superagent/superagent-tests.ts
+++ b/superagent/superagent-tests.ts
@@ -1,6 +1,3 @@
-
-///
-
// via: http://visionmedia.github.io/superagent/
import * as request from 'superagent';
diff --git a/supertest-as-promised/supertest-as-promised-tests.ts b/supertest-as-promised/supertest-as-promised-tests.ts
index 35cbc68388..23e47ee319 100644
--- a/supertest-as-promised/supertest-as-promised-tests.ts
+++ b/supertest-as-promised/supertest-as-promised-tests.ts
@@ -29,12 +29,8 @@ request(app)
// ...
});
-describe("GET /kittens", () => {
- it("should work", () => {
- return request(app).get("/kittens").expect(200);
- });
-});
+request(app).get("/kittens").expect(200);
// Agents
var agent = request.agent(app);
diff --git a/tapable/tapable-tests.ts b/tapable/tapable-tests.ts
index fce410defa..60e299b4a0 100644
--- a/tapable/tapable-tests.ts
+++ b/tapable/tapable-tests.ts
@@ -1,5 +1,3 @@
-///
-
import Tapable = require('tapable');
class DllPlugin {
diff --git a/tape/tape-tests.ts b/tape/tape-tests.ts
index cc51d27ba1..9884ece458 100644
--- a/tape/tape-tests.ts
+++ b/tape/tape-tests.ts
@@ -1,6 +1,3 @@
-
-///
-
import tape = require("tape");
var name: string;
diff --git a/tar/tar-tests.ts b/tar/tar-tests.ts
index 08f304add9..d80e068ace 100644
--- a/tar/tar-tests.ts
+++ b/tar/tar-tests.ts
@@ -4,8 +4,6 @@
* Created by using code samples from https://github.com/npm/node-tar.
*/
-///
-
import tar = require("tar");
import fs = require("fs");
diff --git a/tether-drop/tether-drop-tests.ts b/tether-drop/tether-drop-tests.ts
index b6069bc76b..91df27a484 100644
--- a/tether-drop/tether-drop-tests.ts
+++ b/tether-drop/tether-drop-tests.ts
@@ -1,4 +1,3 @@
-///
import Drop = require("tether-drop");
var yellowBox = document.querySelector(".yellow");
diff --git a/three/test/canvas/canvas_camera_orthographic.ts b/three/test/canvas/canvas_camera_orthographic.ts
index 78476a95b5..2beabf21f9 100644
--- a/three/test/canvas/canvas_camera_orthographic.ts
+++ b/three/test/canvas/canvas_camera_orthographic.ts
@@ -1,6 +1,3 @@
-///
-///
-
// https://github.com/mrdoob/three.js/blob/master/examples/canvas_camera_orthographic.html
() => {
diff --git a/three/test/canvas/canvas_geometry_cube.ts b/three/test/canvas/canvas_geometry_cube.ts
index 46f26b10c5..767ece34b0 100644
--- a/three/test/canvas/canvas_geometry_cube.ts
+++ b/three/test/canvas/canvas_geometry_cube.ts
@@ -1,6 +1,3 @@
-///
-///
-
// https://github.com/mrdoob/three.js/blob/master/examples/canvas_geometry_cube.html
() => {
diff --git a/three/test/canvas/canvas_interactive_cubes_tween.ts b/three/test/canvas/canvas_interactive_cubes_tween.ts
index 6d4cd3fce1..c7427cb07b 100644
--- a/three/test/canvas/canvas_interactive_cubes_tween.ts
+++ b/three/test/canvas/canvas_interactive_cubes_tween.ts
@@ -1,5 +1,3 @@
-///
-///
///
// https://github.com/mrdoob/three.js/blob/master/examples/canvas_interactive_cubes_tween.html
diff --git a/three/test/canvas/canvas_lights_pointlights.ts b/three/test/canvas/canvas_lights_pointlights.ts
index 6c028abcf8..55e91d27c8 100644
--- a/three/test/canvas/canvas_lights_pointlights.ts
+++ b/three/test/canvas/canvas_lights_pointlights.ts
@@ -1,6 +1,3 @@
-///
-///
-
// https://github.com/mrdoob/three.js/blob/master/examples/canvas_lights_pointlights.html
() => {
diff --git a/three/test/canvas/canvas_materials.ts b/three/test/canvas/canvas_materials.ts
index 21ca2b3ee1..9af83aff5d 100644
--- a/three/test/canvas/canvas_materials.ts
+++ b/three/test/canvas/canvas_materials.ts
@@ -1,6 +1,3 @@
-///
-///
-
// https://github.com/mrdoob/three.js/blob/master/examples/canvas_materials.html
() => {
diff --git a/three/test/canvas/canvas_particles_floor.ts b/three/test/canvas/canvas_particles_floor.ts
index 71e121e8d0..00d97b8e30 100644
--- a/three/test/canvas/canvas_particles_floor.ts
+++ b/three/test/canvas/canvas_particles_floor.ts
@@ -1,6 +1,3 @@
-///
-///
-
// https://github.com/mrdoob/three.js/blob/master/examples/canvas_particles_floor.html
() => {
diff --git a/three/test/css3d/css3d_periodictable.ts b/three/test/css3d/css3d_periodictable.ts
index 342455ff48..2d68cd2f53 100644
--- a/three/test/css3d/css3d_periodictable.ts
+++ b/three/test/css3d/css3d_periodictable.ts
@@ -1,6 +1,4 @@
-///
///
-///
// https://github.com/mrdoob/three.js/blob/master/examples/css3d_periodictable.html
diff --git a/three/test/css3d/css3d_sprites.ts b/three/test/css3d/css3d_sprites.ts
index 49177a9453..41cf22ad47 100644
--- a/three/test/css3d/css3d_sprites.ts
+++ b/three/test/css3d/css3d_sprites.ts
@@ -1,5 +1,3 @@
-///
-///
///
// https://github.com/mrdoob/three.js/blob/master/examples/css3d_sprites.html
diff --git a/three/test/examples/controls/vrcontrols.ts b/three/test/examples/controls/vrcontrols.ts
index 1d6e932a0e..2dbc5817da 100644
--- a/three/test/examples/controls/vrcontrols.ts
+++ b/three/test/examples/controls/vrcontrols.ts
@@ -1,5 +1,3 @@
-///
-
var _vrControls = new THREE.VRControls(new THREE.Camera());
_vrControls.update();
diff --git a/three/test/examples/ctm/ctmloader.ts b/three/test/examples/ctm/ctmloader.ts
index e35cffb6a4..68e4e28fc0 100644
--- a/three/test/examples/ctm/ctmloader.ts
+++ b/three/test/examples/ctm/ctmloader.ts
@@ -1,5 +1,3 @@
-///
-
let _ctmloader = new THREE.CTMLoader();
_ctmloader.load('https://github.com/mrdoob/three.js/blob/master/examples/models/ctm/ben.ctm', (geo: any) => {
console.log(geo.position);
diff --git a/three/test/examples/detector.ts b/three/test/examples/detector.ts
index b0960c723c..6260f34300 100644
--- a/three/test/examples/detector.ts
+++ b/three/test/examples/detector.ts
@@ -1,7 +1,3 @@
-///
-///
-
-
() => {
if ( !Detector.canvas || !Detector.webgl || !Detector.workers || !Detector.fileapi ){
var errorElement = Detector.getWebGLErrorMessage();
diff --git a/three/test/examples/effects/vreffect.ts b/three/test/examples/effects/vreffect.ts
index 67917a94ae..454d15fdf7 100644
--- a/three/test/examples/effects/vreffect.ts
+++ b/three/test/examples/effects/vreffect.ts
@@ -1,5 +1,3 @@
-///
-
var _vrEffect: THREE.VREffect;
_vrEffect = new THREE.VREffect(new THREE.WebGLRenderer({antialias: true}), (error) => {
diff --git a/three/test/examples/octree.ts b/three/test/examples/octree.ts
index de7de86ac7..d37ef7ba75 100644
--- a/three/test/examples/octree.ts
+++ b/three/test/examples/octree.ts
@@ -1,5 +1,3 @@
-///
-
let _octree = new THREE.Octree({
underferred: false,
depthMax: Infinity,
diff --git a/three/test/math/test_unit_math.ts b/three/test/math/test_unit_math.ts
index c70868b3d8..4a8e0a8c14 100644
--- a/three/test/math/test_unit_math.ts
+++ b/three/test/math/test_unit_math.ts
@@ -1,6 +1,3 @@
-///
-///
-
declare function test(desc: string, body: () => void): void;
declare function ok(cond: any, desc?: string): void;
declare function deepEqual(a: T, b: T, desc?: string): void;
diff --git a/three/test/webgl/webgl_animation_cloth.ts b/three/test/webgl/webgl_animation_cloth.ts
index fff733c9c0..0c0ec76ace 100644
--- a/three/test/webgl/webgl_animation_cloth.ts
+++ b/three/test/webgl/webgl_animation_cloth.ts
@@ -1,6 +1,3 @@
-///
-///
-
// https://github.com/mrdoob/three.js/blob/master/examples/webgl_animation_cloth.html
() => {
diff --git a/three/test/webgl/webgl_animation_skinning_morph.ts b/three/test/webgl/webgl_animation_skinning_morph.ts
index df085e9ac4..fcea4bba08 100644
--- a/three/test/webgl/webgl_animation_skinning_morph.ts
+++ b/three/test/webgl/webgl_animation_skinning_morph.ts
@@ -1,6 +1,3 @@
-///
-///
-
// https://github.com/mrdoob/three.js/blob/master/examples/webgl_sprites.html
() => {
diff --git a/three/test/webgl/webgl_buffergeometry.ts b/three/test/webgl/webgl_buffergeometry.ts
index a747a17d50..0d4f1ee5dd 100644
--- a/three/test/webgl/webgl_buffergeometry.ts
+++ b/three/test/webgl/webgl_buffergeometry.ts
@@ -1,6 +1,3 @@
-///
-///
-
// https://github.com/mrdoob/three.js/blob/master/examples/webgl_buffergeometry.html
() => {
diff --git a/three/test/webgl/webgl_camera.ts b/three/test/webgl/webgl_camera.ts
index 66b60a7826..804aba771f 100644
--- a/three/test/webgl/webgl_camera.ts
+++ b/three/test/webgl/webgl_camera.ts
@@ -1,6 +1,3 @@
-///
-///
-
// https://github.com/mrdoob/three.js/blob/master/examples/webgl_camera.html
() => {
diff --git a/three/test/webgl/webgl_custom_attributes.ts b/three/test/webgl/webgl_custom_attributes.ts
index 89c25e62cf..c3a5bc6a36 100644
--- a/three/test/webgl/webgl_custom_attributes.ts
+++ b/three/test/webgl/webgl_custom_attributes.ts
@@ -1,6 +1,3 @@
-///
-///
-
// https://github.com/mrdoob/three.js/blob/master/examples/webgl_custom_attributes.html
() => {
diff --git a/three/test/webgl/webgl_geometries.ts b/three/test/webgl/webgl_geometries.ts
index 9b23dcfa1f..89e0af480c 100644
--- a/three/test/webgl/webgl_geometries.ts
+++ b/three/test/webgl/webgl_geometries.ts
@@ -1,6 +1,3 @@
-///
-///
-
// https://github.com/mrdoob/three.js/blob/master/examples/webgl_geometries.html
() => {
diff --git a/three/test/webgl/webgl_helpers.ts b/three/test/webgl/webgl_helpers.ts
index db8cba89a7..6b955968f4 100644
--- a/three/test/webgl/webgl_helpers.ts
+++ b/three/test/webgl/webgl_helpers.ts
@@ -1,6 +1,3 @@
-///
-///
-
// https://github.com/mrdoob/three.js/blob/master/examples/webgl_helpers.html
() => {
diff --git a/three/test/webgl/webgl_interactive_cubes.ts b/three/test/webgl/webgl_interactive_cubes.ts
index 74493a5285..87a9796813 100644
--- a/three/test/webgl/webgl_interactive_cubes.ts
+++ b/three/test/webgl/webgl_interactive_cubes.ts
@@ -1,6 +1,3 @@
-///
-///
-
// https://github.com/mrdoob/three.js/blob/master/examples/webgl_interactive_cubes.html
() => {
diff --git a/three/test/webgl/webgl_interactive_raycasting_points.ts b/three/test/webgl/webgl_interactive_raycasting_points.ts
index 6fdb24b6cc..ced8feb6c6 100644
--- a/three/test/webgl/webgl_interactive_raycasting_points.ts
+++ b/three/test/webgl/webgl_interactive_raycasting_points.ts
@@ -1,6 +1,3 @@
-///
-///
-
// https://github.com/mrdoob/three.js/blob/master/examples/webgl_sprites.html
() => {
diff --git a/three/test/webgl/webgl_lensflares.ts b/three/test/webgl/webgl_lensflares.ts
index 1d100507a0..1d42762571 100644
--- a/three/test/webgl/webgl_lensflares.ts
+++ b/three/test/webgl/webgl_lensflares.ts
@@ -1,6 +1,3 @@
-///
-///
-
// https://github.com/mrdoob/three.js/blob/master/examples/webgl_lensflares.html
() => {
diff --git a/three/test/webgl/webgl_lights_hemisphere.ts b/three/test/webgl/webgl_lights_hemisphere.ts
index 46dd9f7157..108419f4ad 100644
--- a/three/test/webgl/webgl_lights_hemisphere.ts
+++ b/three/test/webgl/webgl_lights_hemisphere.ts
@@ -1,6 +1,3 @@
-///
-///
-
// https://github.com/mrdoob/three.js/blob/master/examples/webgl_lights_hemisphere.html
() => {
diff --git a/three/test/webgl/webgl_lines_colors.ts b/three/test/webgl/webgl_lines_colors.ts
index 6b359b2d65..c7d68849f2 100644
--- a/three/test/webgl/webgl_lines_colors.ts
+++ b/three/test/webgl/webgl_lines_colors.ts
@@ -1,6 +1,3 @@
-///
-///
-
// https://github.com/mrdoob/three.js/blob/master/examples/webgl_lines_colors.html
() => {
diff --git a/three/test/webgl/webgl_loader_awd.ts b/three/test/webgl/webgl_loader_awd.ts
index 01f21a985e..d1752056fa 100644
--- a/three/test/webgl/webgl_loader_awd.ts
+++ b/three/test/webgl/webgl_loader_awd.ts
@@ -1,6 +1,3 @@
-///
-///
-
// https://github.com/mrdoob/three.js/blob/master/examples/webgl_loader_awd.html
() => {
diff --git a/three/test/webgl/webgl_materials.ts b/three/test/webgl/webgl_materials.ts
index f60da797ce..94f91b2fef 100644
--- a/three/test/webgl/webgl_materials.ts
+++ b/three/test/webgl/webgl_materials.ts
@@ -1,6 +1,3 @@
-///
-///
-
// https://github.com/mrdoob/three.js/blob/master/examples/webgl_materials.html
() => {
diff --git a/three/test/webgl/webgl_morphtargets.ts b/three/test/webgl/webgl_morphtargets.ts
index 5368dccb91..4dda732da7 100644
--- a/three/test/webgl/webgl_morphtargets.ts
+++ b/three/test/webgl/webgl_morphtargets.ts
@@ -1,6 +1,3 @@
-///
-///
-
// https://github.com/mrdoob/three.js/blob/master/examples/webgl_morphtargets.html
() => {
diff --git a/three/test/webgl/webgl_points_billboards.ts b/three/test/webgl/webgl_points_billboards.ts
index 11aa04270b..06fefa6744 100644
--- a/three/test/webgl/webgl_points_billboards.ts
+++ b/three/test/webgl/webgl_points_billboards.ts
@@ -1,6 +1,3 @@
-///
-///
-
// https://github.com/mrdoob/three.js/blob/master/examples/webgl_particles_billboards.html
() => {
diff --git a/three/test/webgl/webgl_postprocessing.ts b/three/test/webgl/webgl_postprocessing.ts
index 8c298d66a6..0c768eccea 100644
--- a/three/test/webgl/webgl_postprocessing.ts
+++ b/three/test/webgl/webgl_postprocessing.ts
@@ -1,6 +1,3 @@
-///
-///
-
// https://github.com/mrdoob/three.js/blob/master/examples/webgl_postprocessing.html
() => {
diff --git a/three/test/webgl/webgl_shader.ts b/three/test/webgl/webgl_shader.ts
index 249851d534..4a954d36ac 100644
--- a/three/test/webgl/webgl_shader.ts
+++ b/three/test/webgl/webgl_shader.ts
@@ -1,6 +1,3 @@
-///
-///
-
// https://github.com/mrdoob/three.js/blob/master/examples/webgl_shader.html
() => {
diff --git a/three/test/webgl/webgl_sprites.ts b/three/test/webgl/webgl_sprites.ts
index 8e71285fac..103d3065c3 100644
--- a/three/test/webgl/webgl_sprites.ts
+++ b/three/test/webgl/webgl_sprites.ts
@@ -1,6 +1,3 @@
-///
-///
-
// https://github.com/mrdoob/three.js/blob/master/examples/webgl_sprites.html
() => {
diff --git a/through2/through2-tests.ts b/through2/through2-tests.ts
index 0cc698d1d3..70a66e4b0e 100644
--- a/through2/through2-tests.ts
+++ b/through2/through2-tests.ts
@@ -1,6 +1,3 @@
-
-///
-
import stream = require('stream');
import through2 = require('through2');
diff --git a/through2/v0/through2-tests.ts b/through2/v0/through2-tests.ts
index 9308908648..ae1c43a135 100644
--- a/through2/v0/through2-tests.ts
+++ b/through2/v0/through2-tests.ts
@@ -1,6 +1,3 @@
-
-///
-
import through2 = require('through2');
var rws: NodeJS.ReadWriteStream;
diff --git a/typeahead/typeahead-tests.ts b/typeahead/typeahead-tests.ts
index 4f50cb57e2..61d48b6aa9 100644
--- a/typeahead/typeahead-tests.ts
+++ b/typeahead/typeahead-tests.ts
@@ -1,5 +1,3 @@
-///
-
function test_typeahead() {
var options: Twitter.Typeahead.Options = {};
var dataset: Twitter.Typeahead.Dataset = { source: null };
diff --git a/uuid-1345/uuid-1345-tests.ts b/uuid-1345/uuid-1345-tests.ts
index e3eef2c939..da0876de89 100644
--- a/uuid-1345/uuid-1345-tests.ts
+++ b/uuid-1345/uuid-1345-tests.ts
@@ -1,6 +1,3 @@
-///
-
-'use strict';
import * as UUID from 'uuid-1345';
var uuid:string;
diff --git a/valerie/valerie-tests.ts b/valerie/valerie-tests.ts
index 227afc246b..b4f6efcdc9 100644
--- a/valerie/valerie-tests.ts
+++ b/valerie/valerie-tests.ts
@@ -1,15 +1,3 @@
-
-///
-
-// Tests for valerie.d.ts
-// Project: https://github.com/davewatts/valerie
-// Definitions by: Howard Richards
-// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
-
-/*
- Checks the .d.ts definition work. Not a fully comprehensive set of tests yet.
-*/
-
/**
* Simple enum for enum test
*/
diff --git a/validator/validator-tests.ts b/validator/validator-tests.ts
index c4cee64661..48621f1acd 100644
--- a/validator/validator-tests.ts
+++ b/validator/validator-tests.ts
@@ -1,8 +1,5 @@
-///
-
import * as validator from 'validator';
-
/************************************************
* *
* IMPORT TESTS *
diff --git a/vex-js/vex-js-tests.ts b/vex-js/vex-js-tests.ts
index d4af6e9e6a..2f89745157 100644
--- a/vex-js/vex-js-tests.ts
+++ b/vex-js/vex-js-tests.ts
@@ -1,4 +1,3 @@
-///
import vex = require("vex-js");
var vexContent = vex.open({
diff --git a/vinyl/vinyl-tests.ts b/vinyl/vinyl-tests.ts
index bb705b7b2b..f9e71dd532 100644
--- a/vinyl/vinyl-tests.ts
+++ b/vinyl/vinyl-tests.ts
@@ -1,8 +1,4 @@
///
-///
-///
-
-'use strict';
import * as fs from 'fs';
import * as path from 'path';
diff --git a/voronoi-diagram/voronoi-diagram-tests.ts b/voronoi-diagram/voronoi-diagram-tests.ts
index 31b261e1ce..97f04a37de 100644
--- a/voronoi-diagram/voronoi-diagram-tests.ts
+++ b/voronoi-diagram/voronoi-diagram-tests.ts
@@ -1,5 +1,3 @@
-///
-
import voronoi = require("voronoi-diagram");
const x: voronoi.Point = [1, 2];
diff --git a/wake_on_lan/wake_on_lan-tests.ts b/wake_on_lan/wake_on_lan-tests.ts
index 3403d5c9fe..e8391a5765 100644
--- a/wake_on_lan/wake_on_lan-tests.ts
+++ b/wake_on_lan/wake_on_lan-tests.ts
@@ -1,6 +1,3 @@
-
-///
-
import wol = require('wake_on_lan');
wol.wake("20:DE:20:DE:20:DE");
diff --git a/webgme/webgme-tests.ts b/webgme/webgme-tests.ts
index d009e936e4..e6f315a3ef 100644
--- a/webgme/webgme-tests.ts
+++ b/webgme/webgme-tests.ts
@@ -1,13 +1,9 @@
-
-///
-///
-
/**
* In actual usage the MetaDataStr would most likely
* be initialized with an import...
- *
+ *
import MetaDataStr = require("text!metadata.json");
- *
+ *
* Which would require a declaration, like...
* `text.d.ts`
*
@@ -26,7 +22,7 @@ import * as fs from "fs";
import * as stream from "stream";
import * as Common from "webgme/common";
-/**
+/**
* The following items are not created directly by the
* plugin driver.
*
@@ -41,14 +37,14 @@ let destinationNode = new Common.Node();
/**
* These tests are derived from...
* https://github.com/webgme/webgme/wiki/GME-Core-API
- *
- * Nearly all core functions takes a CoreNode as its first argument.
- * When using the Core API externally each CoreNode corresponds
- * to one node/model in the project tree.
- * To access data from the node the Core API should be used
- * and the properties on the CoreNode itself should
+ *
+ * Nearly all core functions takes a CoreNode as its first argument.
+ * When using the Core API externally each CoreNode corresponds
+ * to one node/model in the project tree.
+ * To access data from the node the Core API should be used
+ * and the properties on the CoreNode itself should
* not be accessed or modified directly.
- *
+ *
* Below follows a handpicked selection of basic core functions.
*/
@@ -111,7 +107,7 @@ function test_core_containment_traversal() {
});
}
-/**
+/**
* https://github.com/webgme/webgme/wiki/GME-Core-API#containment-methods
*/
function test_core_containment_methods() {
@@ -158,7 +154,7 @@ function test_core_containment_methods() {
// Here we have access to the node.
});
- // Loading an entire sub-tree of nodes
+ // Loading an entire sub-tree of nodes
// N.B. this requires all nodes to be loaded at the same time.
// For larger models core.traverse is preferred.
self.core.loadSubTree(node, (err, nodes) => {
@@ -176,7 +172,7 @@ function test_core_containment_methods() {
function test_core_pointers_connections() {
- //
+ //
let isConn = self.core.isConnection(connNode);
// Get the path of the node that is pointed to, via 'src', from connNode.
@@ -215,16 +211,16 @@ function test_core_pointers_connections() {
/**
* https://github.com/webgme/webgme/wiki/GME-Blob-Storage-API
- *
- * File-like objects/artifacts
- * (which are neither a meta archetype model, nor an instance model)
- * are stored separately from the WebGME meta-models and models.
- * An example of such an artifact would be a resource
- * file that is associated with a model
+ *
+ * File-like objects/artifacts
+ * (which are neither a meta archetype model, nor an instance model)
+ * are stored separately from the WebGME meta-models and models.
+ * An example of such an artifact would be a resource
+ * file that is associated with a model
* (e.g., data for an instance model, or a generated artifact from analyzing a model).
- *
- * One reason for treating these objects differently is that they do not conform to the data model,
- * and they might not be well-suited for storage in a database
+ *
+ * One reason for treating these objects differently is that they do not conform to the data model,
+ * and they might not be well-suited for storage in a database
* (the Blob is suited to handle binary objects of any size and structure).
*/
@@ -242,22 +238,22 @@ function test_client_creating_an_instance() {
/**
* https://github.com/webgme/webgme/wiki/GME-Blob-Storage-API
- *
- * File-like objects/artifacts
- * (which are neither a meta archetype model, nor an instance model)
- * are stored separately from the WebGME meta-models and models.
- * An example of such an artifact would be a resource
- * file that is associated with a model
+ *
+ * File-like objects/artifacts
+ * (which are neither a meta archetype model, nor an instance model)
+ * are stored separately from the WebGME meta-models and models.
+ * An example of such an artifact would be a resource
+ * file that is associated with a model
* (e.g., data for an instance model, or a generated artifact from analyzing a model).
- *
- * One reason for treating these objects differently is that they do not conform to the data model,
- * and they might not be well-suited for storage in a database
+ *
+ * One reason for treating these objects differently is that they do not conform to the data model,
+ * and they might not be well-suited for storage in a database
* (the Blob is suited to handle binary objects of any size and structure).
*/
-/**
+/**
* The following items are not created directly by the
* plugin driver.
*
@@ -338,7 +334,7 @@ type DictionaryAny = { [key: string]: any };
/**
* Visit the node and perform the function.
* Related example using traverse.
-* https://github.com/webgme/xmi-tools/blob/master/src/plugins/XMIExporter/XMIExporter.js#L430
+* https://github.com/webgme/xmi-tools/blob/master/src/plugins/XMIExporter/XMIExporter.js#L430
*/
function test_core_containment_traversal_complete() {
const BLANK = "";
@@ -382,7 +378,7 @@ function test_core_containment_traversal_complete() {
/**
* A filter mechanism to effectively eliminate containment branches.
- * Any path included in the prune-list will be the root of a
+ * Any path included in the prune-list will be the root of a
* pruned subtree.
*/
let pruneList: string[] = [];
diff --git a/webpack-sources/webpack-sources-tests.ts b/webpack-sources/webpack-sources-tests.ts
index 622f12cb8e..16c915516b 100644
--- a/webpack-sources/webpack-sources-tests.ts
+++ b/webpack-sources/webpack-sources-tests.ts
@@ -1,5 +1,3 @@
-///
-
import {
CachedSource,
ConcatSource,
diff --git a/x-editable/x-editable-tests.ts b/x-editable/x-editable-tests.ts
index c4c03a46be..3c121b8528 100644
--- a/x-editable/x-editable-tests.ts
+++ b/x-editable/x-editable-tests.ts
@@ -1,10 +1,3 @@
-// Type definitions for X-Editable v1.5.1
-// Project: http://vitalets.github.io/x-editable/index.html
-// Definitions by: Chris Kirby
-// Definitions: https://github.com/sirkirby/DefinitelyTyped
-
-///
-
// server post and response
$('#username').editable({
success: function(response : any, newValue : any) {
diff --git a/xmlpoke/xmlpoke-tests.ts b/xmlpoke/xmlpoke-tests.ts
index 3c82b846a6..aba04c0962 100644
--- a/xmlpoke/xmlpoke-tests.ts
+++ b/xmlpoke/xmlpoke-tests.ts
@@ -1,7 +1,3 @@
-///
-
-// tsc xmlpoke-tests.ts && node xmlpoke-tests.js
-
import * as xmlpoke from 'xmlpoke';
import * as assert from 'assert';
diff --git a/xrm/v7/xrm-tests.ts b/xrm/v7/xrm-tests.ts
index 1b82805648..1c8288fae4 100644
--- a/xrm/v7/xrm-tests.ts
+++ b/xrm/v7/xrm-tests.ts
@@ -1,5 +1,3 @@
-///
-
/// Demonstrate usage in the browser's window object
window.Xrm.Utility.alertDialog( "message", () => {} );