From 988543edaf8376e208da4f8cc32553c735ffea7e Mon Sep 17 00:00:00 2001 From: GitBrent Date: Tue, 22 Nov 2016 13:21:26 -0600 Subject: [PATCH] Minor text and layout updates. --- examples/pptxgenjs-demo.html | 20 ++++++++++---------- examples/style.css | 2 +- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/examples/pptxgenjs-demo.html b/examples/pptxgenjs-demo.html index f3f10f0e5..84a354409 100755 --- a/examples/pptxgenjs-demo.html +++ b/examples/pptxgenjs-demo.html @@ -456,15 +456,15 @@
 var pptx = new PptxGenJS();
 var slide = pptx.addNewSlide();
-var opts = { font_size:16, color:'9F9F9F', marginPt:3, border:[0,0,{pt:'1',color:'CFCFCF'},0] };
+var options = { font_size:16, color:'9F9F9F', marginPt:3, border:[0,0,{pt:'1',color:'CFCFCF'},0] };
 
-slide.addTable( [ [{ text:gStrHello, opts:opts }] ], { x:0.43, y:0.13, w:9.0 } );
+slide.addTable( [[{text:gStrHello, opts:options}]], { x:0.43, y:0.13, w:9.0 } );
 slide.addText($('#demo-basic-text').val(), { x:1.0, y:1.0, font_size:42, color:'00FF00' });
 
-pptx.save('PptxGenJs-Demo-Basic-Example');
+pptx.save('PptxGenJs-Basic-Slide-Demo');
 
-
+
Slide Text:
@@ -479,9 +479,9 @@
-
DEMO: Object Types +
DEMO: Object Types
-
+