Sha256: ee6a7b56a62bd645272aa2669691750e49165e42f9218a6f21c964080ad94cd3
Contents?: true
Size: 1.6 KB
Versions: 2
Compression:
Stored size: 1.6 KB
Contents
{:uriI"file:///Users/piotrek/Code/cms/wellspring/app/assets/javascripts/wellspring/current-user.js?type=application/javascript&pipeline=self&id=f49ebbf98d006a8de97992ae33c1ea9b0727f1fa995378fe1dec5e7d534d71c7:ET:load_pathI">/Users/piotrek/Code/cms/wellspring/app/assets/javascripts;T: filenameI"Y/Users/piotrek/Code/cms/wellspring/app/assets/javascripts/wellspring/current-user.js;T: nameI"wellspring/current-user;T:logical_pathI"$wellspring/current-user.self.js;T:content_typeI"application/javascript;T:sourceI"var Wellspring = Wellspring || {}; Wellspring.CurrentUser = { initialize: function() { if (!this.isLoggedIn()) { $(function() { this.hideMembersOnlyLinks(); }.bind(this)); } }, isLoggedIn: function() { return Wellspring.userIsLoggedIn || false; }, hideMembersOnlyLinks: function() { $('[data-access~=members-only]').each(function() { $(this).attr('href', Wellspring.loginPath); $(this).attr('data-behavior', 'modal'); }); } } Wellspring.CurrentUser.initialize(); ;T: metadata{:dependencieso:Set: @hash{ I"environment-version;TTI"environment-paths;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"gfile-digest:///Users/piotrek/Code/cms/wellspring/app/assets/javascripts/wellspring/current-user.js;TT: requiredo;;{ :stubbedo;;{ : linkso;;{ :charsetI" utf-8;F:digest"%o ;"& ))Z[:lengthi:dependencies_digest"%h99!.J`&w9$A~Dx Y6:idI"Ef49ebbf98d006a8de97992ae33c1ea9b0727f1fa995378fe1dec5e7d534d71c7;F: mtimel+mFV
Version data entries
2 entries across 2 versions & 1 rubygems