Skip to content

Commit 4363f82

Browse files
author
Dan Lasky
committed
patch out sync - wip
1 parent 5bc45fa commit 4363f82

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

src/mm-collection/mm-collection.js

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
behaviors: [
2929
StrandTraits.Pageable,
3030
StrandTraits.Refable
31-
// StrandTraits.DomSyncable
3231
],
3332

3433
factoryImpl: function(auto) {
@@ -78,7 +77,7 @@
7877
fetch: function() {
7978
return this.connection.get();
8079
},
81-
80+
8281
destroy: function() {
8382
return this.connection.delete();
8483
},
@@ -100,8 +99,8 @@
10099
// },
101100

102101
// _collectionChanged: function() {
103-
// this._collection.addEventListener("data-changed", function() {
104-
// this.fire("data-changed");
102+
// this._collection.addEventListener("data-changed", function() {
103+
// this.fire("data-changed");
105104
// }.bind(this));
106105
// },
107106

@@ -132,4 +131,4 @@
132131
}
133132

134133
});
135-
})(window.Strand = window.Strand || {});
134+
})(window.Strand = window.Strand || {});

src/shared/behaviors/pageable.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<link rel="import" href="../js/datautils.html"/>
2+
<link rel="import" href="../js/sync.html"/>
23
<link rel="import" href="domsyncable.html"/>
34
<script>
45
/**
@@ -133,7 +134,7 @@
133134
};
134135

135136
scope.Pageable = [
136-
scope.Syncable,
137+
StrandLib.Sync.getBehavior(),
137138
scope.DomSyncable,
138139
Pageable,
139140
];

0 commit comments

Comments
 (0)