Sha256: 73494593b6e0b377e85b74eee416249d10b7633cf93b5a5800f200abaf816799

Contents?: true

Size: 376 Bytes

Versions: 1

Compression:

Stored size: 376 Bytes

Contents

var Restapi = {
  Routers: {},
  Templates: {},
  
  init: function() {
    new Restapi.Routers.Documentation();
    var base = '/' + window.location.pathname.split('/')[1];
    Backbone.history.start({pushState: true, root: base});
  },

  baseurl: function() { return document.location.toString().replace(/#.*/,""); }
};

$(document).ready(function() {
  Restapi.init();
});

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
restapi-0.0.2 app/public/restapi/javascripts/restapi.js