X Tutup
Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions modules/benchmarks/src/naive_infinite_scroll/common.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {Math} from 'angular2/src/facade/math';

import {StringWrapper} from 'angular2/src/facade/lang';
import {ListWrapper, Map, MapWrapper} from 'angular2/src/facade/collection';

export var ITEMS = 1000;
Expand Down Expand Up @@ -86,7 +86,7 @@ export class RawEntity {
}

remove(key: string) {
if (!key.contains('.')) {
if (!StringWrapper.contains(key, '.')) {
return MapWrapper.delete(this._data, key);
}
var pieces = key.split('.');
Expand Down
X Tutup