Sha256: d5393a3e84409a19bb712fcfe8ca6140674f1c060e839e7c4f42c73c7c0c8405
Contents?: true
Size: 615 Bytes
Versions: 1
Compression:
Stored size: 615 Bytes
Contents
taleFilter = angular.module("mb.tableFilter", []) class TableFilterCtrl constructor: ($scope) -> # Clears the filter value $scope.clear = -> $scope.value = "" # Reruns true when the filter is empty $scope.isEmpty = -> !$scope.value TableFilterCtrl.$inject = ["$scope"] taleFilter.controller "tableFilter", TableFilterCtrl # Filter for databases and collections taleFilter.directive "tableFilter", -> restrict: "E" transclude: true replace: true templateUrl: "/ng/templates/table_filter.html" scope: placeholder: "@placeholder" value: "=value" controller: "tableFilter"
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mongo_browser-0.2.5 | app/assets/javascripts/app/modules/table_filter.js.coffee |