Sha256: 644f95d941327ed8516d3f8efb12e9e7fa22d625ae70dfb9fea70e450c752baa

Contents?: true

Size: 775 Bytes

Versions: 5

Compression:

Stored size: 775 Bytes

Contents

<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <div id="json" data-json="%7B%22key%22%3A%22value%22%2C%22test%22%3A%5B%22one%22%2C%22two%22%2C%22three%22%5D%7D"></div>
    <div id="test"></div>
    <script>
      (function(){
        var testel = document.getElementById('test');
        testel.innerHTML='complete';
        var datael = document.getElementById('json');
        var data;
        data=JSON.parse(decodeURIComponent(datael.dataset.json));
        if(!!data){
          testel.innerHTML+=data.test
        }
        var evt = document.createEvent("Event")
        evt.initEvent('test', true, true);
        document.dispatchEvent(evt);
      })()
    </script>
  </body>
</html>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ghost_in_the_post-0.1.4 lib/ghost_in_the_post/phantom/test.html
ghost_in_the_post-0.1.3 lib/ghost_in_the_post/phantom/test.html
ghost_in_the_post-0.1.2 lib/ghost_in_the_post/phantom/test.html
ghost_in_the_post-0.1.0 lib/ghost_in_the_post/phantom/test.html
ghost_in_the_post-0.0.14 lib/ghost_in_the_post/phantom/test.html