From 0e8e1ca8fb832a8cd1c7aec9d88cd2f57abf05b5 Mon Sep 17 00:00:00 2001 From: Patricio Gonzalez Vivo Date: Tue, 8 Mar 2016 07:44:37 -0500 Subject: [PATCH] sharing icons --- header.php | 7 ++++--- src/main.js | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/header.php b/header.php index 8cb7df0..7586fdf 100644 --- a/header.php +++ b/header.php @@ -26,8 +26,8 @@ echo ' - - + + @@ -44,4 +44,5 @@ echo ' '; ?> - + + diff --git a/src/main.js b/src/main.js index 46835fc..2febe8d 100644 --- a/src/main.js +++ b/src/main.js @@ -137,7 +137,7 @@ function loadGlslElements() { for(var i = 0; i < ccList.length; i++){ if (ccList[i].hasAttribute("data")){ var srcFile = ccList[i].getAttribute("data"); - var editor = new GlslEditor(ccList[i], { canvas_size: 250, canvas_follow: true, tooltips: true }); + var editor = new GlslEditor(ccList[i], { canvas_size: 250, canvas_follow: true, tooltips: true, shareIcon: true }); editor.open(srcFile); glslEditors.push(editor); }