diff --git a/demos/fixed-advanced/index.html b/demos/fixed-advanced/index.html deleted file mode 100644 index a5630860d..000000000 --- a/demos/fixed-advanced/index.html +++ /dev/null @@ -1,45 +0,0 @@ - - - - - Blockly Demo: Fixed Blockly built with Closure Compiler's advanced optimizations - - - - -

- Blockly > - Demos > - Fixed Blockly built with Closure Compiler's advanced optimizations -

- -

- This is a simple demo of injecting Blockly into a fixed-sized 'div' element - from a Closure-compiled source code with advanced optimizations. -

- -

→ More info on injecting fixed-sized Blockly

- -
- - - - - diff --git a/demos/fixed-advanced/main.js b/demos/fixed-advanced/main.js deleted file mode 100644 index 5276e03d3..000000000 --- a/demos/fixed-advanced/main.js +++ /dev/null @@ -1,31 +0,0 @@ -/** - * @fileoverview Main file (entry point) for the advanced compilation demo. - */ -'use strict'; - -goog.provide('Demo'); - -// messages (in some language) -goog.require('Blockly.Msg.en'); -// core -goog.require('Blockly'); -// blocks -goog.require('Blockly.Constants.Colour'); -goog.require('Blockly.Constants.Lists'); -goog.require('Blockly.Constants.Logic'); -goog.require('Blockly.Constants.Loops'); -goog.require('Blockly.Constants.Math'); -goog.require('Blockly.Blocks.procedures'); -goog.require('Blockly.Constants.Text'); -goog.require('Blockly.Constants.Variables'); - - -Demo.init = function() { - Blockly.inject('blocklyDiv', { - 'media': '../../media/', - 'toolbox': document.getElementById('toolbox') - }); -} - -window.addEventListener('load', Demo.init); - diff --git a/scripts/.selenium_connect.sh.swp b/scripts/.selenium_connect.sh.swp deleted file mode 100644 index ceaa1343a..000000000 Binary files a/scripts/.selenium_connect.sh.swp and /dev/null differ diff --git a/scripts/get_chromedriver.sh b/scripts/get_chromedriver.sh deleted file mode 100755 index 7bff39c16..000000000 --- a/scripts/get_chromedriver.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/bash -os_name=`uname` -chromedriver_dir="chromedriver" -if [ ! -d $chromedriver_dir ]; then - mkdir $chromedriver_dir -fi - -echo "downloading chromedriver" - -if [[ $os_name == 'Linux' && ! -f $chromedriver_dir/chromedriver ]]; then - cd chromedriver && curl -L https://chromedriver.storage.googleapis.com/2.29/chromedriver_linux64.zip > tmp.zip && unzip -o tmp.zip && rm tmp.zip - # wait until download finish - sleep 5 -elif [[ $os_name == 'Darwin' && ! -f $chromedriver_dir/chromedriver ]]; then - cd chromedriver && curl -L https://chromedriver.storage.googleapis.com/2.29/chromedriver_mac64.zip | tar xz - sleep 5 -fi diff --git a/scripts/get_geckdriver.sh b/scripts/get_geckdriver.sh deleted file mode 100755 index 77fecd4ec..000000000 --- a/scripts/get_geckdriver.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/bash -os_name=`uname` - -if [ -f geckodriver ]; then - exit 0 -fi -echo "downloading gechdriver" - -if [[ $os_name == 'Linux' ]]; then - cd ../ && curl -L https://github.com/mozilla/geckodriver/releases/download/v0.11.1/geckodriver-v0.11.1-linux64.tar.gz | tar xz - sleep 5 -elif [[ $os_name == 'Darwin' ]]; then - cd ../ && curl -L https://github.com/mozilla/geckodriver/releases/download/v0.11.1/geckodriver-v0.11.1-macos.tar.gz | tar xz - sleep 5 -fi diff --git a/scripts/get_selenium.sh b/scripts/get_selenium.sh deleted file mode 100755 index 0dac3e9b5..000000000 --- a/scripts/get_selenium.sh +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/bash -DIR="../webdriverio-test" -FILE=selenium-server-standalone-3.0.1.jar - -if [ ! -d $DIR ]; then - mkdir $DIR -fi - -echo "downloading selenium jar" - -if [ ! -f $DIR/$FILE ]; then - cd $DIR && curl -O http://selenium-release.storage.googleapis.com/3.0/selenium-server-standalone-3.0.1.jar - sleep 5 -fi diff --git a/scripts/selenium_connect.sh b/scripts/selenium_connect.sh deleted file mode 100755 index 3fae90576..000000000 --- a/scripts/selenium_connect.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/bash - -#check if selenium server is up running -pid=`lsof -ti tcp:4444` -if [ $? -eq 0 ] -then - kill -9 $pid -fi -java -jar -Dwebdriver.gecko.driver=../geckodriver -Dwebdriver.chrome.driver="chromedriver/chromedriver" ../webdriverio-test/selenium-server-standalone-3.0.1.jar & - diff --git a/scripts/setup_linux_env.sh b/scripts/setup_linux_env.sh deleted file mode 100755 index da3d0ce6c..000000000 --- a/scripts/setup_linux_env.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/bash - -if [ "${TRAVIS_OS_NAME}" == "linux" ] - then - export CHROME_BIN="/usr/bin/google-chrome" - export DISPLAY=:99.0 - sh -e /etc/init.d/xvfb start & -fi diff --git a/scripts/setup_osx_env.sh b/scripts/setup_osx_env.sh deleted file mode 100755 index 92891f966..000000000 --- a/scripts/setup_osx_env.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/bash - -if [ "${TRAVIS_OS_NAME}" == "osx" ] - then - brew cask install google-chrome - sudo Xvfb :99 -ac -screen 0 1024x768x8 & - export CHROME_BIN="/Applications/Google Chrome.app" -fi diff --git a/scripts/test_setup.sh b/scripts/test_setup.sh deleted file mode 100755 index 4220923f3..000000000 --- a/scripts/test_setup.sh +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/bash - -EXIT_STATUS=0 - -function check_command { - "$@" - local STATUS=$? - if [ $STATUS -ne 0 ]; then - echo "error with $1 ($STATUS)" >&2 - EXIT_STATUS=$STATUS - fi - } - -check_command scripts/get_geckdriver.sh -sleep 5 -check_command scripts/get_selenium.sh -sleep 5 -check_command scripts/get_chromedriver.sh -sleep 10 -check_command scripts/selenium_connect.sh -sleep 10 - -exit $EXIT_STATUS