Skip to content

Commit

Permalink
Release v0.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
jsntv200 committed Oct 22, 2014
1 parent 52a6095 commit 5dad652
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 11 deletions.
12 changes: 7 additions & 5 deletions angular-ra-newrelic.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
/*!
* angular-ra-newrelic.js v0.0.1
* angular-ra-newrelic.js v0.0.3
*
* Copyright 2014
* MIT License
*/
(function(angular, NewrelicTiming) {
'use strict';
Expand All @@ -15,13 +13,17 @@
throw new Error('NewrelicTiming is not loaded');
}

var module = angular.module('ra.newrelic', []);
var module = angular.module('ra.newrelic', ['ra.pageload']);

if (typeof module.run !== 'function') {
return;
}

module.run(function($rootScope, $location, newrelicTiming) {
module.config(function($httpProvider) {
$httpProvider.interceptors.push('loadingInterceptor');
}).

run(function($rootScope, $location, newrelicTiming) {
function changeStart() {
newrelicTiming.mark('navStart');
}
Expand Down
6 changes: 2 additions & 4 deletions angular-ra-newrelic.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 bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "angular-ra-newrelic",
"version": "0.0.3",
"version": "0.0.4",
"description": "AngularJS service to integrate with NewRelic's Real User Monitoring",
"author": {
"name": "Jason Taylor",
Expand Down
1 change: 1 addition & 0 deletions karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ module.exports = function(config) {
files: [
'bower_components/angular/angular.js',
'bower_components/angular-mocks/angular-mocks.js',
'bower_components/angular-ra-pageload/angular-ra-pageload.js',
'bower_components/newrelic-timing/newrelic-timing.js',
'src/**/*.js',
'test/**/*.js'
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": "angular-ra-newrelic",
"version": "0.0.3",
"version": "0.0.4",
"repository": {
"type": "git",
"url": "git://github.com/red-ant/angular-ra-newrelic.git"
Expand Down

0 comments on commit 5dad652

Please sign in to comment.