Skip to content

Commit

Permalink
class is a reserved word, need to wrap it in quotes if using it as a …
Browse files Browse the repository at this point in the history
…property key in an object
  • Loading branch information
kiyanwang committed Apr 17, 2014
1 parent 01be42c commit 67baef9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "echo-angular",
"version": "0.1.1",
"version": "0.1.2",
"main": "./js/echo.services.js",
"description": "Client for Talis Echo",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion js/echo.services.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ angular.module('talis.services.echo', []).factory("echo",[
}

var event = {
class: className,
"class": className,
source: APP_ID,
timestamp: Math.floor(new Date().getTime() / 1000) // seconds since epoch
};
Expand Down

0 comments on commit 67baef9

Please sign in to comment.