Skip to content

Commit 01947d0

Browse files
committed
updated demo basic chat app syntax missing.
1 parent 13618d9 commit 01947d0

3 files changed

Lines changed: 5 additions & 3 deletions

File tree

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ API keys that you get on the PubNub website.
4040
<!-- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= -->
4141
<!-- configuration -->
4242
<!-- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= -->
43+
<script>
4344
angular.module('chat').constant( 'config', {
4445
//
4546
// Get your PubNub API Keys in the link above.
@@ -49,11 +50,12 @@ angular.module('chat').constant( 'config', {
4950
"subscribe-key" : "YOUR-SUBSCRIBE-KEY"
5051
}
5152
} );
53+
</script>
5254

5355
<!-- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= -->
5456
<!-- controller -->
5557
<!-- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= -->
56-
<script type="text/javascript">
58+
<script>
5759
var chat = angular.module( 'BasicChat', ['chat'] );
5860
chat.controller( 'chat', [ 'Messages', '$scope', function( Messages, $scope ) {
5961
// Message Inbox

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-chat",
3-
"version": "1.0.6",
3+
"version": "1.0.7",
44
"description": "AngularJS Chat - Enable chat messaging experiences in your iOS, Android and Web apps.",
55
"main": "angular-chat.js",
66
"authors": [

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-chat",
3-
"version": "1.0.6",
3+
"version": "1.0.7",
44
"description": "AngularJS Chat - Enable chat messaging experiences in your iOS, Android and Web apps.",
55
"main": "angular-chat.js",
66
"scripts": {

0 commit comments

Comments
 (0)