Sha256: 7b399cc5603563ca8654b30b3c5fab45a7c5b469a320e8514e8c4361259762c1

Contents?: true

Size: 477 Bytes

Versions: 2

Compression:

Stored size: 477 Bytes

Contents

I"Ñ(function() {
  this.app.controller('RepeaterFieldCtrl', [
    '$scope', function($scope) {
      $scope.rows = [{}];
      $scope.initRows = function(rows) {
        if ((rows != null) && rows.length) {
          return $scope.rows = rows;
        }
      };
      $scope.addRow = function() {
        return $scope.rows.push({});
      };
      return $scope.removeRow = function(i) {
        return $scope.rows.splice(i, 1);
      };
    }
  ]);

}).call(this);
:ET

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
push_type_admin-0.5.0.alpha.2 test/dummy/tmp/cache/assets/development/sprockets/v3.0/-UbeOdEFi_3O-RDnogLF7Kd0UqX1yY7RjfPhGsM-m5c.cache
push_type_admin-0.5.0.alpha.1 test/dummy/tmp/cache/assets/development/sprockets/v3.0/-UbeOdEFi_3O-RDnogLF7Kd0UqX1yY7RjfPhGsM-m5c.cache