Skip to content
This repository
Browse code

Removing require_js def and JS_LIB_DIR constant

  • Loading branch information...
commit c23a90f684ef3510080105203ca7055958d08f0e 1 parent 1cfb0d9
authored August 21, 2012

Showing 1 changed file with 0 additions and 7 deletions. Show diff stats Hide diff stats

  1. 7  lib/twitter_cldr.rb
7  lib/twitter_cldr.rb
@@ -36,8 +36,6 @@ module TwitterCldr
36 36
 
37 37
   RESOURCES_DIR = File.join(File.dirname(File.dirname(File.expand_path(__FILE__))), 'resources')
38 38
 
39  
-  JS_LIB_DIR = File.join(File.dirname(File.dirname(__FILE__)), 'js', 'lib')
40  
-
41 39
   # maps twitter locales to cldr locales
42 40
   TWITTER_LOCALE_MAP = {
43 41
       :msa     => :ms,
@@ -86,11 +84,6 @@ def supported_locales
86 84
     def supported_locale?(locale)
87 85
       !!locale && supported_locales.include?(convert_locale(locale))
88 86
     end
89  
-
90  
-    def require_js
91  
-      $:.push(JS_LIB_DIR) unless $:.include?(JS_LIB_DIR)
92  
-      require 'twitter_cldr_js'
93  
-    end
94 87
   end
95 88
 
96 89
 end

0 notes on commit c23a90f

Please sign in to comment.
Something went wrong with that request. Please try again.