We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6f08668 + 41a1ef3 commit 3512138Copy full SHA for 3512138
src/sfPath.js
@@ -1,5 +1,10 @@
1
angular.module('schemaForm').provider('sfPath',
2
[function() {
3
+
4
+ // When building with browserify it's objectpath,
5
+ // otherwise it's just objectpath.
6
+ var ObjectPath = window.ObjectPath || objectpath;
7
8
var sfPath = {parse: ObjectPath.parse};
9
10
// if we're on Angular 1.2.x, we need to continue using dot notation
0 commit comments