Prechádzať zdrojové kódy

Update Phaser documentation (2.4.1)

Thibaut 10 rokov pred
rodič
commit
b3900380a5

+ 1 - 1
lib/docs/filters/phaser/clean_html.rb

@@ -8,7 +8,7 @@ module Docs
           @doc = at_css('#docs-index')
 
           # Remove first paragraph (old doc details)
-          at_css('p').remove
+          at_css('table').remove
 
           title.content = 'Phaser'
         else

+ 3 - 3
lib/docs/scrapers/phaser.rb

@@ -1,10 +1,10 @@
 module Docs
   class Phaser < UrlScraper
     self.type = 'phaser'
-    self.version = '2.3.0'
-    self.base_url = "https://phaser.io/docs/#{version}"
+    self.version = '2.4.1'
+    self.base_url = "http://phaser.io/docs/#{version}"
     self.links = {
-      home: 'https://phaser.io/',
+      home: 'http://phaser.io/',
       code: 'https://github.com/photonstorm/phaser'
     }