Run Code  | Code Wall  | Users  | Misc  | Feedback  | About  | Login  | Theme  | Privacy 

hacked


            
                
            
 run  | edit  | history  | help 0

**<body onload="init()">

<div id="firepad"></div> <script> function init() { // Initialize the Firebase SDK. firebase.initializeApp({ apiKey: '<API_KEY>', databaseURL: 'https://<DATABASE_NAME>.firebaseio.com' }); // Get Firebase Database reference. var firepadRef = firebase.database().ref(); // Create CodeMirror (with lineWrapping on). var codeMirror = CodeMirror(document.getElementById('firepad'), { lineWrapping: true }); // Create Firepad (with rich text toolbar and shortcuts enabled). var firepad = Firepad.fromCodeMirror(firepadRef, codeMirror, { richTextShortcuts: true, richTextToolbar: true, defaultText: 'Hello, World!' }); } </script>

</body>**

  by  hacker much, 14 days ago




Please log in to post a comment.