Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

satisfy jslint

  • Loading branch information...
commit d206779e6a8dd1409a0012d4016230a11334989d 1 parent 1240be9
W. Cole Davis authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  application/surfaces/surface.js
View
2  application/surfaces/surface.js
@@ -330,7 +330,7 @@ SC.Surface = SC.Object.extend(SC.Responder, {
if (!transition) {
var transitions = this.getPath('transitions');
sc_assert(transitions === null || (typeof transitions === "object" && transitions instanceof Object));
- transition = transitions? transitions['anchorPoint'] : null;
+ transition = transitions? transitions.anchorPoint : null;
}
if (!transition) transition = SC.Surface.transitions[key];
sc_assert(transition, "An SC.TransitionAnimation could not be found for '%@'.".fmt(key));
Please sign in to comment.
Something went wrong with that request. Please try again.