1
0
Эх сурвалжийг харах

Update Ember.js documentation (1.3.0)

Thibaut 12 жил өмнө
parent
commit
a5fa8d90f7

+ 1 - 1
assets/javascripts/templates/pages/about_tmpl.coffee

@@ -95,7 +95,7 @@ credits = [
     'http://creativecommons.org/licenses/by-sa/2.5/'
   ], [
     'Ember.js',
-    '2013 Yehuda Katz, Tom Dale and Ember.js contributors',
+    '2014 Yehuda Katz, Tom Dale and Ember.js contributors',
     'MIT',
     'https://raw.github.com/emberjs/ember.js/master/LICENSE'
   ], [

+ 4 - 2
lib/docs/filters/ember/entries.rb

@@ -13,12 +13,14 @@ module Docs
       end
 
       def get_type
-        # Group modules together
         if at_css('.api-header').content.include?('Module')
           'Modules'
-        # Group "Ember Data" together
         elsif name.start_with? 'DS'
           'Data'
+        elsif name.start_with? 'RSVP'
+          'RSVP'
+        elsif name.start_with? 'Test'
+          'Test'
         else
           name
         end

+ 2 - 2
lib/docs/scrapers/ember.rb

@@ -3,7 +3,7 @@ module Docs
     self.name = 'Ember.js'
     self.slug = 'ember'
     self.type = 'ember'
-    self.version = '1.2.0'
+    self.version = '1.3.0'
     self.base_url = 'http://emberjs.com/api/'
 
     html_filters.push 'ember/clean_html', 'ember/entries', 'title'
@@ -49,7 +49,7 @@ module Docs
     options[:skip_patterns] = [/\._/]
 
     options[:attribution] = <<-HTML
-      &copy; 2013 Yehuda Katz, Tom Dale and Ember.js contributors<br>
+      &copy; 2014 Yehuda Katz, Tom Dale and Ember.js contributors<br>
       Licensed under the MIT License.
     HTML
   end