Skip to content

Commit e478747

Browse files
committed
Merge pull request #5 from auser/master
Using $rootScope without injecting it in DSMock.js
2 parents 6376db6 + cb08847 commit e478747

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

dist/angular-data-mocks.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){
12
/**
23
* @author Jason Dobry <[email protected]>
34
* @file angular-data-mocks.js
@@ -7,7 +8,6 @@
78
*
89
* @overview A mock of angular-data for testing purposes.
910
*/
10-
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){
1111

1212
function DSHttpAdapterProvider() {
1313
var expectations = [];
@@ -800,7 +800,7 @@ function DSProvider() {
800800
}
801801
}
802802

803-
this.$get = ['DSMockUtils', 'DSUtils', 'DSErrors', '$log', function (DSMockUtils, DSUtils, DSErrors, $log) {
803+
this.$get = ['DSMockUtils', 'DSUtils', 'DSErrors', '$log', '$rootScope', function (DSMockUtils, DSUtils, DSErrors, $log, $rootScope) {
804804

805805
var MockDSExpectation = DSMockUtils.MockDSExpectation;
806806
var defaults = {

0 commit comments

Comments
 (0)