lib/angular-rails-engine.rb in angular-rails-engine-1.0.7.0 vs lib/angular-rails-engine.rb in angular-rails-engine-1.1.5.0

- old
+ new

@@ -1,11 +1,12 @@ module AngularRailsEngine module ActionViewExtensions + ANGULAR_VERSION = '1.1.5' OFFLINE = (::Rails.env.development? or ::Rails.env.test?) CDNS = { :angular_js => { - :default => "//ajax.googleapis.com/ajax/libs/angularjs/1.0.7/angular.min.js" + :default => "//ajax.googleapis.com/ajax/libs/angularjs/#{ANGULAR_VERSION}/angular.min.js" } } def angular_js_url(name) return CDNS[:angular_js][name]