Sha256: c9b8e8fb1377d31da50204022c8de6c5b9f2ab984002db5ce9df634cd9221ae0

Contents?: true

Size: 812 Bytes

Versions: 2

Compression:

Stored size: 812 Bytes

Contents

<div style="position:absolute">
  <div id="workspace">
  </div>
</div>

<div style="display: none;" id="temporary-rendering-area"></div>

<script type='text/javascript'>
  function bitShiftRight(a, b) {
    // don't use JS bitshift, this might fail with big numbers
    return Math.round(a / Math.pow(2, b));
  }

  loadAmber({
    // deploy: true,
    ready: function() {
      // smalltalk.Browser._open();

      smalltalk.Maglev._persistentRootId_(<%= Maglev::PERSISTENT_ROOT.object_id %>);
      smalltalk.Maglev._maglevSystemId_(<%= Maglev::System.object_id %>);
      smalltalk.Maglev._defaultWorkspaceId_(<%= RubyWorkspace.default_instance.object_id %>);
      smalltalk.Maglev._evalObjectId_(<%= MaglevDatabaseExplorer.eval_object.object_id %>);

      smalltalk.Maglev._ready();
    }
  });
</script>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
maglev-database-explorer-0.0.2 app/views/maglev_database_explorer/object_explorer/_workspace.html.erb
maglev-database-explorer-0.0.1 app/views/maglev_database_explorer/object_explorer/_workspace.html.erb