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
GruntfileUtils.prototype.snapshotAll = function() { | |
const grunt = this.grunt; | |
return function() { | |
const done = this.async(); | |
const docker = new Docker(dockerodeConfig()[grunt.option('docker')]); | |
docker | |
.listContainers((err, containers) => { | |
containers.forEach(containerInfo => { |
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
<div class="panel panel-default swipe" swipe-left="onSwipeLeft" swipe-right="onSwipeRight"> | |
<div class="panel-body"> | |
Swipe left or right this beautiful panel! | |
</div> | |
</div> |
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
<div class="swipe" swipe-left="doSomething" swipe-right="doAnotherSomething" left-template="leftTemplate.html" right-template="rightTemplate.html"> | |
Swipe me! | |
</div> |
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
<div class="panel panel-default swipe" swipe-left="delayedClose" swipe-right="delayedClose" left-template="path/to/your/leftTemplate.html" right-template="path/to/your/rightTemplate.html"> | |
<div class="panel-body"> | |
Again with some template customization! | |
</div> | |
</div> |
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
<div class="custom-template-left option-item start"> | |
<img src="img/swipe_right.svg"/> | |
</div> |
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
{ | |
// Name of configuration; appears in the launch configuration drop down menu. | |
"name": "Mocha tests", | |
"request": "launch", | |
// Type of configuration. Possible values: "node", "mono". | |
"type": "node", | |
// Workspace relative or absolute path to the program. | |
"program": "${workspaceRoot}/node_modules/mocha/bin/_mocha", | |
// Automatically stop program after launch. | |
"stopOnEntry": false, |
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
{ | |
"name": "Debug karma tests in Chrome", | |
"type": "chrome", | |
"request": "attach", | |
"port": 9222, | |
"sourceMaps": true, | |
"webRoot": "${workspaceRoot}", | |
} |
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
customLaunchers: { | |
Chrome_with_debugging: { | |
base: 'Chrome', | |
flags: ['--remote-debugging-port=9222'], | |
debug: true | |
} | |
}, |
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
{ | |
"version": "0.1.0", | |
"taskName": "karma", | |
"command": "karma", | |
"args": [ | |
"start" | |
], | |
"options": { | |
"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
MONGOPORT=23500 | |
BASEDIR=`pwd` | |
# Update tools | |
(cd repo && composer update) | |
# Run code style checker | |
./repo/vendor/bin/phpcs -p --standard=repo/vendor/sabre/dav/tests/phpcs/ruleset.xml --report-checkstyle=checkstyle.xml repo/lib/ | |
# Cleanup |
OlderNewer