Skip to content

Commit

Permalink
Merge pull request #4 from angulartics/page-data
Browse files Browse the repository at this point in the history
v0.1.2
  • Loading branch information
ProLoser committed Sep 7, 2015
2 parents a358a3d + a22470b commit 1767192
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions bower.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"name": "angulartics-segment",
"version": "0.1.2",
"main": "./dist/angulartics-segment.min.js",
"dependencies": {
"angulartics": "~0.20"
Expand Down
2 changes: 1 addition & 1 deletion dist/angulartics-segment.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/angulartics-segment.min.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions lib/angulartics-segment.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ angular.module('angulartics.segment', ['angulartics'])
// (string) is (name)
// (string, string) is (category, name)
// (string, object) is (name, properties)
$analyticsProvider.registerPageTrack(function (path) {
$analyticsProvider.registerPageTrack(function (path, properties) {
try {
analytics.page(path);
analytics.page(path, properties);
} catch (e) {
if (!(e instanceof ReferenceError)) {
throw e;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "angulartics-segment",
"version": "0.1.1",
"version": "0.1.2",
"description": "Segment plugin for Angulartics",
"keywords": [
"segment",
Expand Down

0 comments on commit 1767192

Please sign in to comment.