Removes refernces to the test backend from the html5 backend tests -
the two backends are distinct so it doesn't make sense to test one
inside the other
Typescript 2.0 starts checking the compatibility of the index
signature with the base JQuery interface; Hence we are forced to
return Document & HTMLElement to be compatible with the base.
from: https://github.com/mapbox/node-sqlite3/wiki/API
> Database#run(sql, [param, ...], [callback])
> ... There are three ways of passing bind parameters: directly in the
function's arguments, as an array, and as an object for named
parameters. ...
We can support the last two parameter passing options even if a callback
is given.
When using this d.ts file I was getting a TS2345 error: Type 'string' is not assignable to type 'number'. Looks like it was just a copy and paste error or something. I've changed it from number to string.
* Changing hitch signature to match documentation
* Changing hitch signature to match documentation
* Changing dojo/_base/lang mixin signature to match documentation
* Revert "Changing dojo/_base/lang mixin signature to match documentation"
This reverts commit cdfb764333.
* Changing djit.Destroyable.own signature to match documentation and implmentation
Make QueueUrl optional, as it can have a default value that is be obtained from aws.SQS:
```
var sqs = new aws.SQS({
region: config.aws.region,
accessKeyId: config.aws.accessID,
secretAccessKey: config.aws.secretKey,
// For every request in this demo, I'm going to be using the same QueueUrl; so,
// rather than explicitly defining it on every request, I can set it here as the
// default QueueUrl to be automatically appended to every request.
params: {
QueueUrl: config.aws.queueUrl
}
});
var sendMessage = Q.nbind( sqs.sendMessage, sqs );
// ---------------------------------------------------------- //
// ---------------------------------------------------------- //
// Now that we have a Q-ified method, we can send the message.
sendMessage({
MessageBody: "This is my first ever SQS request... evar!"
})
```
Based on:
http://www.bennadel.com/blog/2792-shedding-the-monolithic-application-with-aws-simple-queue-service-sqs-and-node-js.htm
JQ(lite)-unwrapping $document[0] should be of type Document instead of
the default HTMLElement. Otherwise important methods like
getElementById are missing.
These are minor changes:
* There's a `status` field that can be used to check if the connection to the redis server is active.
* There's a `getBuffer` method that returns a node `Buffer` instance instead of a string (if you're saving binary data on redis, this is useful).
* The callback on `connect` is optional.