Skip to content

Commit 97eccde

Browse files
Chasen Le Harachasenlehara
authored andcommitted
Update based on Kevin’s feedback
#55 (review)
1 parent beb97a3 commit 97eccde

File tree

7 files changed

+8
-8
lines changed

7 files changed

+8
-8
lines changed

doc/can-query-logic.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -679,7 +679,7 @@ The following is a more complex query and what it gets hydrated to:
679679

680680

681681
```js
682-
import {QueryLogic, Reflect as canReflect} from "can";
682+
import {canReflect, QueryLogic} from "can";
683683
//query
684684
const queryLogic = new QueryLogic({
685685
filter: {

doc/examples/date-string-example.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {DefineMap, QueryLogic } from "can";
1+
import {DefineMap, QueryLogic} from "can";
22

33
class DateStringSet {
44
constructor(value){

doc/examples/recipe-example.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {QueryLogic, Reflect as canReflect} from "can";
1+
import {canReflect, QueryLogic} from "can";
22

33
// Takes the value of `name` (ex: `"chicken"`)
44
function SearchableStringSet(value) {

doc/examples/searchable-todo-example.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {DefineMap, QueryLogic, Reflect as canReflect} from "can";
1+
import {canReflect, DefineMap, QueryLogic} from "can";
22

33
// Takes the value of `name` (ex: `"chicken"`)
44
function SearchableStringSet(value) {

doc/prototype/identity-keys.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
Using [canReflect.getSchema().identity](can-reflect.getSchema.html):
3838

3939
```js
40-
import {QueryLogic, Reflect as canReflect} from "can";
40+
import {canReflect, QueryLogic} from "can";
4141

4242
const queryLogic = new QueryLogic({
4343
identity: ["_id"]

doc/static/makeEnum.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Create a schema type that represents a finite set of values.
4949
Instead of using `makeEnum`, an enum type can be defined the following:
5050

5151
```js
52-
import {Reflect as canReflect} from "can";
52+
import {canReflect} from "can";
5353

5454
const Status = canReflect.assignSymbols({}, {
5555
"can.new": function(val){

src/types/basic-query-filter-from-test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,8 @@ QUnit.test("returns undefined against incompatible set", function(assert) {
124124
var fromQuery = new BasicQuery({
125125
filter: new BasicQuery.KeysAnd({ type: 'critical' })
126126
});
127-
var res;
128-
try{
127+
var res;
128+
try {
129129
res = query.filterFrom(items, fromQuery);
130130
} catch(e) {
131131
assert.ok(true, "throws an error");

0 commit comments

Comments
 (0)