lib/panda_pal.rb in panda_pal-3.1.0 vs lib/panda_pal.rb in panda_pal-3.1.1
- old
+ new
@@ -1,6 +1,6 @@
-require "panda_pal/engine"
+require "panda_pal/engine" unless ENV['NO_PANDAPAL_INIT']
require 'panda_pal/plugins'
require 'panda_pal/helpers'
module PandaPal
class LtiNavigationInUse < StandardError;end
@@ -69,6 +69,7 @@
def self.lti_navigation(navigation, options)
raise "lti navigation '#{navigation}' has not been registered!" unless @@lti_navigation.has_key?(navigation)
@@lti_navigation[navigation].merge!(options)
end
+
end