Sha256: c098ce9c557d3f89bc695ea29f675f3c8e4f5b6920df29f2c384fc9f6d5d309c

Contents?: true

Size: 493 Bytes

Versions: 2

Compression:

Stored size: 493 Bytes

Contents

I"á(function() {
  this.app.controller('RepeaterFieldCtrl', [
    '$scope', function($scope) {
      $scope.rows = [$scope.obj];
      $scope.initRows = function(rows) {
        if ((rows != null) && rows.length) {
          return $scope.rows = rows;
        }
      };
      $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

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/rgZrtuayoCi0dd30c6mV2MNRDlA0nhAH2-g0GYwkdrc.cache
push_type_admin-0.5.0.alpha.1 test/dummy/tmp/cache/assets/development/sprockets/v3.0/rgZrtuayoCi0dd30c6mV2MNRDlA0nhAH2-g0GYwkdrc.cache