Skip to content

Commit

Permalink
Making the KendoUI adapter more useful:
Browse files Browse the repository at this point in the history
 - Wait for Kendo to be available before enhancing anything
  • Loading branch information
EddyVerbruggen committed Oct 12, 2014
1 parent ce7347f commit b36377d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions adapters/NativePageTransitionsKendoAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@
},

apply : function () {
if (this._checkPluginLoaded()) {
if (this._checkPluginLoaded() && window.kendo.mobile.application) {

if (defaultTransition == null && window.kendo.mobile.application) {
if (defaultTransition == null) {
// figure out the default transition and use that as our default
defaultTransition = window.kendo.mobile.application.options.transition;
if (defaultTransition == "") {
Expand Down

0 comments on commit b36377d

Please sign in to comment.