Sha256: 213f94cecbe67215942cddbd319b0cccfc14ebf129ad0f46f1061390b4724f2c

Contents?: true

Size: 521 Bytes

Versions: 1

Compression:

Stored size: 521 Bytes

Contents

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

}).call(this);
:ET

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
push_type_admin-0.5.0.alpha.2 test/dummy/tmp/cache/assets/development/sprockets/v3.0/ct7PXHjwQRxXew6JP7H4uDoylELKjiMT0K87paERI4k.cache