A collection of freaking awesome HTML5 demos (work in progress).
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# Cloud Hooks: code-deploy, code-update, db-copy, web-activate | |
# Essentially any time code or db changes are made. | |
# | |
# Purges Varnish cache for all .com domains assigned to the environment in Acquia Cloud. | |
site="$1" | |
target_env="$2" | |
drush_alias=$site'.'$target_env |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# Cloud Hooks: code-deploy, code-update, db-copy, web-activate | |
# Essentially any time code or db changes are made. | |
# | |
# Purges Varnish cache for all .com domains assigned to the environment in Acquia Cloud. | |
site="$1" | |
target_env="$2" | |
drush_alias=$site'.'$target_env |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CancellablePromise.sequence = function(values) { | |
var children = []; | |
return new A.CancellablePromise( | |
function(resolve, reject) { | |
if (!A.Lang.isArray(values)) { | |
reject(new TypeError('CancellablePromise.sequence expects an array of values or promises')); | |
return; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Cancellable promise. | |
* | |
* @class CancellablePromise | |
* @constructor | |
* @extends {Promise} | |
* @param {Function} fn A function where to insert the logic that resolves this | |
* promise. Receives `fulfill` and `reject` functions as parameters. This | |
* function is called synchronously. | |
* @param {Function} opt_errorCallback Optional error callback to be fired |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_setPosition: function(val) { | |
var instance = this; | |
val.x = val.x || 0; | |
val.y = val.y || 0; | |
val.z = val.z || 0; | |
return val; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_setPosition: function(val) { | |
var instance = this; | |
val.x = val.x || 0; | |
val.y = val.y || 0; | |
val.z = val.z || 0; | |
return val; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_setPosition: function(val) { | |
var instance = this; | |
val.x = val.x || 0; | |
val.y = val.y || 0; | |
val.z = val.z || 0; | |
return val; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_setPosition: function(val) { | |
var instance = this; | |
val.x = val.x || 0; | |
val.y = val.y || 0; | |
val.z = val.z || 0; | |
return val; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_setPosition: function(val) { | |
var instance = this; | |
val.x = val.x || 0; | |
val.y = val.y || 0; | |
val.z = val.z || 0; | |
return val; | |
} |
NewerOlder