Merge pull request #1301 from simon04/angularjs-1.8

angularjs: add version 1.8
pull/1302/head
Simon Legner 4 years ago committed by GitHub
commit 078f7bbd9b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -83,9 +83,9 @@ app.templates.aboutPage = -> """
credits = [ credits = [
[ 'Angular<br>Angular.js', [ 'Angular<br>Angular.js',
'2010-2019 Google, Inc.', '2010-2020 Google, Inc.',
'CC BY', 'CC BY 3.0',
'https://creativecommons.org/licenses/by/4.0/' 'https://creativecommons.org/licenses/by/3.0/'
], [ ], [
'Ansible', 'Ansible',
'2012-2018 Michael DeHaan<br>&copy; 20182019 Red Hat, Inc.', '2012-2018 Michael DeHaan<br>&copy; 20182019 Red Hat, Inc.',

@ -38,8 +38,8 @@ module Docs
] ]
options[:attribution] = <<-HTML options[:attribution] = <<-HTML
&copy; 2010&ndash;2018 Google, Inc.<br> &copy; 2010&ndash;2020 Google, Inc.<br>
Licensed under the Creative Commons Attribution License 4.0. Licensed under the Creative Commons Attribution License 3.0.
HTML HTML
stub '' do stub '' do
@ -49,6 +49,11 @@ module Docs
capybara.execute_script("return document.querySelector('.side-navigation').innerHTML") capybara.execute_script("return document.querySelector('.side-navigation').innerHTML")
end end
version '1.8' do
self.release = '1.8.2'
self.base_url = "https://code.angularjs.org/#{release}/docs/partials/"
end
version '1.7' do version '1.7' do
self.release = '1.7.8' self.release = '1.7.8'
self.base_url = "https://code.angularjs.org/#{release}/docs/partials/" self.base_url = "https://code.angularjs.org/#{release}/docs/partials/"

Loading…
Cancel
Save