Permalink
Browse files

Removing require_js def and JS_LIB_DIR constant

  • Loading branch information...
1 parent 1cfb0d9 commit c23a90f684ef3510080105203ca7055958d08f0e Cameron Dutro committed Aug 21, 2012
Showing with 0 additions and 7 deletions.
  1. +0 −7 lib/twitter_cldr.rb
View
7 lib/twitter_cldr.rb
@@ -36,8 +36,6 @@ module TwitterCldr
RESOURCES_DIR = File.join(File.dirname(File.dirname(File.expand_path(__FILE__))), 'resources')
- JS_LIB_DIR = File.join(File.dirname(File.dirname(__FILE__)), 'js', 'lib')
-
# maps twitter locales to cldr locales
TWITTER_LOCALE_MAP = {
:msa => :ms,
@@ -86,11 +84,6 @@ def supported_locales
def supported_locale?(locale)
!!locale && supported_locales.include?(convert_locale(locale))
end
-
- def require_js
- $:.push(JS_LIB_DIR) unless $:.include?(JS_LIB_DIR)
- require 'twitter_cldr_js'
- end
end
end

0 comments on commit c23a90f

Please sign in to comment.