Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(577)

Unified Diff: experimental/webtry/scripts/fiddle_run

Issue 656463002: add support for skfiddle width/height options (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: add new db creation commands to the design documnt Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « experimental/webtry/res/webtry/sass/webtry.scss ('k') | experimental/webtry/scripts/fiddle_wrapper » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: experimental/webtry/scripts/fiddle_run
diff --git a/experimental/webtry/scripts/fiddle_run b/experimental/webtry/scripts/fiddle_run
index f07c04df5425f0755a66e72679b063b3ec18d260..3e7ef4814efb10cccf4b379367f5e0d90c6a1c13 100755
--- a/experimental/webtry/scripts/fiddle_run
+++ b/experimental/webtry/scripts/fiddle_run
@@ -8,8 +8,4 @@
[ -z $SKIA_ROOT ] && SKIA_ROOT="/skia_build/skia"
[ -z $WEBTRY_INOUT ] && WEBTRY_INOUT="/skia_build/inout"
-if [ "$#" -eq 2 ]; then
- FIDDLE_SOURCE_ARGS="--source $WEBTRY_INOUT/$2"
-fi
-
-$SKIA_ROOT/out/Release/$1 --out $WEBTRY_INOUT/$1.png $FIDDLE_SOURCE_ARGS
+$SKIA_ROOT/out/Release/$1 --out $WEBTRY_INOUT/$1.png "${@:2}"
« no previous file with comments | « experimental/webtry/res/webtry/sass/webtry.scss ('k') | experimental/webtry/scripts/fiddle_wrapper » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698