Browse files

Fix for #2532705

  • Loading branch information...
1 parent 8225ffb commit f98a0f63690913e966b008734ea3a1498dd5199d @allenrabinovich allenrabinovich committed Nov 9, 2012
Showing with 3 additions and 3 deletions.
  1. +1 −1 src/calendar/js/calendar-base.js
  2. +2 −2 src/calendar/js/calendarnavigator.js
View
2 src/calendar/js/calendar-base.js
@@ -30,7 +30,7 @@ var getCN = Y.ClassNameManager.getClassName,
L = Y.Lang,
node = Y.Node,
create = node.create,
- substitute = Y.substitute,
+ substitute = L.sub,
each = Y.each,
hasVal = Y.Array.hasValue,
iOf = Y.Array.indexOf,
View
4 src/calendar/js/calendarnavigator.js
@@ -7,7 +7,7 @@ var CONTENT_BOX = "contentBox",
HOST = "host",
RENDERED = "rendered",
getCN = Y.ClassNameManager.getClassName,
- substitute = Y.substitute,
+ substitute = Y.Lang.sub,
node = Y.Node,
create = node.create,
CALENDAR = 'calendar',
@@ -288,4 +288,4 @@ Y.extend(CalendarNavigator, Y.Plugin.Base, {
}
});
-Y.namespace("Plugin").CalendarNavigator = CalendarNavigator;
+Y.namespace("Plugin").CalendarNavigator = CalendarNavigator;

0 comments on commit f98a0f6

Please sign in to comment.