Skip to content

Commit ba3b741

Browse files
fix($state): fix parent: declaration for use with non-dotted notation
Fix registration of a child state pointing to a non-dotted-notation parent state. Removed the immediate computation of a state's FQDN (fully qualified dot-notation) in .register().
1 parent acc365b commit ba3b741

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/state.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ function StateQueueManager(states, builder, $urlRouterProvider) {
5151
register: function(config, pre) {
5252
// Wrap a new object around the state so we can store our private details easily.
5353
state = inherit(config, {
54-
name: builder.name(config),
54+
// name: builder.name(config),
5555
self: config,
5656
resolve: config.resolve || {},
5757
toString: function() { return this.name; }

0 commit comments

Comments
 (0)