Sha256: 911069476dc810bdde65c8691dda3ed4df76d05e547ab8d9ca93f32bc7f02c49

Contents?: true

Size: 242 Bytes

Versions: 2

Compression:

Stored size: 242 Bytes

Contents

/**
 * @ngdoc filter
 * @name Bastion.utils.filter:urlencode
 *
 * @requires $window
 *
 * @description
 *   Encode a url
 */
angular.module('Bastion.utils').filter('urlencode', function ($window) {
    return $window.encodeURIComponent;
});

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
bastion-3.2.0 app/assets/javascripts/bastion/utils/urlencode.filter.js
bastion-3.1.0 app/assets/javascripts/bastion/utils/urlencode.filter.js