{:uriI"file:///home/al/projects/apidoco/source-code/apidoco/app/assets/javascripts/apidoco/controllers/documentations_controller.js?type=application/javascript&pipeline=self&id=f48bf082d7ef1595eee649998e54f5b359a96b160cf3fc90c54b80c07142cacb:ET:load_pathI"I/home/al/projects/apidoco/source-code/apidoco/app/assets/javascripts;T: filenameI"z/home/al/projects/apidoco/source-code/apidoco/app/assets/javascripts/apidoco/controllers/documentations_controller.js;T: nameI"2apidoco/controllers/documentations_controller;T:logical_pathI":apidoco/controllers/documentations_controller.self.js;T:content_typeI"application/javascript;T:sourceI"'use strict'; angular.module('apiDocoApp') .controller('DocumentationController', ['$scope', '$window', function ($scope, $window) { $scope.navigateToCurrentVersion = function (versionName) { var version = $scope.documentationVersions.filter(function(v) { return v.name === versionName; })[0]; $window.location.href = version.path; }; $scope.viewRaw = function(data) { var dataStingified = JSON.stringify(data, null, 2); var x = window.open(); x.document.open(); x.document.write('
' + dataStingified + ''); x.document.close(); }; $scope.initMenuToggle = function() { $(document).ready(function () { $("#menu-toggle").click(function(e) { e.preventDefault(); $("#wrapper").toggleClass("toggled"); }); }); }; $scope.init = function () { $scope.initMenuToggle(); }; $scope.init(); }]); ;T: metadata{:dependencieso:Set: @hash} I"environment-version;TTI"environment-paths;TTI"rails-env;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"file-digest:///home/al/projects/apidoco/source-code/apidoco/app/assets/javascripts/apidoco/controllers/documentations_controller.js;TTF: requiredo;;} F:stubbedo;;} F: linkso;;} F:charsetI" utf-8;F:digest"%s[$o}X́-<XLMV1m:lengthi:dependencies_digest"%D3{qs$ ԦQ:idI"Ef48bf082d7ef1595eee649998e54f5b359a96b160cf3fc90c54b80c07142cacb;F: mtimel+[