This file contains hidden or 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
| - hosts: multieval | |
| remote_user: just-boris | |
| tasks: | |
| - name: Install packages | |
| sudo: true | |
| apt: name={{item}} | |
| with_items: | |
| - jetty | |
| - nginx | |
| - name: Creates directory |
This file contains hidden or 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
| describe('tests', function() { | |
| function createElement(html, options) { | |
| var wrapper = $('<div></div>'); | |
| $(html || "<select></select>").appendTo(wrapper).selectize(options || {}); | |
| return wrapper; | |
| } | |
| beforeEach(function () { | |
| var $element = createElement('<select>' + | |
| '<option value="1">Foo</option>' + |
This file contains hidden or 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
| "use strict"; | |
| var webdriverio = require("webdriverio"); | |
| var config = require("../config"); | |
| describe("webdriverio spec", function() { | |
| beforeEach(function() { | |
| this.webdriver = webdriverio.remote({ | |
| desiredCapabilities: config.capabilities, | |
| host: config.seleniumHost | |
| }); |
This file contains hidden or 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
| "use strict"; | |
| function SearchBox(selector) { | |
| this.selector = selector || ".search2"; | |
| this.input = this.selector + " [name=text]"; | |
| this.submitButton = this.selector + " [type=submit]"; | |
| } | |
| module.exports = new SearchBox(); |
This file contains hidden or 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
| # Your init script | |
| # | |
| # Atom will evaluate this file each time a new window is opened. It is run | |
| # after packages are loaded/activated and after the previous editor state | |
| # has been restored. | |
| # | |
| # An example hack to log to the console when each text editor is saved. | |
| # | |
| # atom.workspace.observeTextEditors (editor) -> | |
| # editor.onDidSave -> |
This file contains hidden or 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
| "use strict"; | |
| class Queue { | |
| constructor() { | |
| this.top = Promise.resolve(); | |
| } | |
| push(operation) { | |
| return this.top = this.top | |
| .then(() => this.delay()) | |
| .then(() => operation()); |
This file contains hidden or 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
| var jasmine = new Jasmine(); | |
| jasmine.loadConfig({ | |
| spec_dir: 'src', | |
| spec_files: [ | |
| 'js/**/*.spec.js' | |
| ], | |
| helpers: ['spec/bootstrap.js'] | |
| }); | |
| jasmine.onComplete(function(passed) { | |
| done(passed ? null : 'Some tests has been failed'); |
This file contains hidden or 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
| const fs = require('fs'); | |
| const path = require('path'); | |
| const Handlebars = require('handlebars/dist/cjs/handlebars'); | |
| // configuration the same as webpack handlebars-loader has | |
| const config = { | |
| helperDirs: [ | |
| path.resolve(__dirname, '../src/helpers'), | |
| path.resolve(__dirname, '../src/blocks') | |
| ] |
This file contains hidden or 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
| node_modules/ | |
| dist/ |
This file contains hidden or 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": "postcss-bug", | |
| "version": "1.0.0", | |
| "description": "", | |
| "main": "index.js", | |
| "scripts": { | |
| "test": "echo \"Error: no test specified\" && exit 1" | |
| }, | |
| "keywords": [], | |
| "author": "", |