Skip to content

Commit c44700f

Browse files
committed
Rename PubSub as DeliveryService
1 parent fd13ea7 commit c44700f

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

db.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,4 +50,4 @@
5050
"postId": 2
5151
}
5252
]
53-
}
53+
}

src/addressbook/contact_list.jsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
import {PubSub, Store} from 'react-at-rest'
1+
import {DeliveryService, Store} from 'react-at-rest'
22
import React from 'react'
33
import ContactListItem from './contact_list_item'
44
import ContactForm from './contact_form'
55

66

7-
// PubSub provides a workflow for retrieving resources from the API
8-
class ContactList extends PubSub {
7+
// DeliveryService provides a workflow for retrieving resources from the API
8+
class ContactList extends DeliveryService {
99

1010
constructor(props) {
1111
super(props)

src/blog/blog_posts.cjsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
React = require 'react'
2-
{PubSub, Store} = require 'react-at-rest'
2+
{DeliveryService, Store} = require 'react-at-rest'
33
Comments = require './comments'
44

5-
module.exports = class BlogPosts extends PubSub
5+
module.exports = class BlogPosts extends DeliveryService
66

77
@displayName = 'BlogPosts'
88

src/blog/comments.cjsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
React = require 'react'
2-
{PubSub, Store} = require 'react-at-rest'
2+
{DeliveryService, Store} = require 'react-at-rest'
33
CommentForm = require './comment_form'
44

5-
module.exports = class Comments extends PubSub
5+
module.exports = class Comments extends DeliveryService
66

77
@displayName = 'Comments'
88

0 commit comments

Comments
 (0)