'use strict';

var LightningVisualization = require('lightning-visualization');

/* 
// Uncomment this code to require an optional stylesheet
var fs = require('fs');
var styles = fs.readFileSync(__dirname + '/test.css');
*/

/*
 * Extend the base visualization object
 */
var Visualization = LightningVisualization.extend({

    init: function() {
        /*
        // FILL IN Add any logic for initializing the visualization
        */
        this.render();
    },

    /*styles: styles,*/ // optionally pass a string of CSS styles 

    render: function() {
        /*
        // FILL IN Render the visualization
        // FILL IN Get data / selector from this.data and this.selector
        */
    },

    formatData: function(data) {
        /*
        // Format your data from a raw JSON blob
        */
        return data;
    },

    updateData: function(formattedData) {
        this.data = formattedData;
        /*
        // FILL IN Re-render your visualization
        */
    },

    appendData: function(formattedData) {    
        /*
        // FILL IN Update this.data to include the newly formatted data
        // FILL IN Re-render the visualization
        */    
    }

});


module.exports = Visualization;

@@ -78,14 +78,15 @@
 );%0A%0A
+%0A
 /* %0A
-//
+ *
  Unc
@@ -136,16 +136,23 @@
 lesheet%0A
+ */%0A// 
 var fs =
@@ -167,16 +167,19 @@
 ('fs');%0A
+// 
 var styl
@@ -225,18 +225,16 @@
 .css');%0A
-*/
 %0A%0A/*%0A * 
@@ -361,34 +361,34 @@
      /*%0A        
-//
+ *
  FILL IN Add any
@@ -429,32 +429,33 @@
 ization%0A        
+ 
 */%0A        this.
@@ -482,28 +482,15 @@
   /*
-styles: styles,*/ //
+%0A     *
  opt
@@ -525,16 +525,47 @@
  styles 
+%0A     */%0A    // styles: styles,
 %0A%0A    re
@@ -594,34 +594,34 @@
      /*%0A        
+ 
-//
+*
  FILL IN Render 
@@ -638,34 +638,58 @@
 ization%0A        
-//
+ */%0A%0A        /*%0A         *
  FILL IN Get dat
@@ -734,32 +734,33 @@
 elector%0A        
+ 
 */%0A    %7D,%0A%0A    f
@@ -806,18 +806,18 @@
         
-//
+ *
  Format 
@@ -847,16 +847,17 @@
 ON blob%0A
+ 
         
@@ -976,34 +976,34 @@
      /*%0A        
-//
+ *
  FILL IN Re-rend
@@ -1016,32 +1016,33 @@
 r visualization%0A
+ 
         */%0A    %7D
@@ -1101,34 +1101,34 @@
      /*%0A        
-//
+ *
  FILL IN Update 
@@ -1181,18 +1181,42 @@
         
-//
+ */%0A%0A        /*%0A         *
  FILL IN
@@ -1236,32 +1236,33 @@
 e visualization%0A
+ 
         */    %0A 

fix comment styles