Browse files

sort js files to insure prevel is loaded first

  • Loading branch information...
1 parent 86a176d commit e28767043831fe36ceb618e3b0c28c6b9b35d967 @herbdaily committed Feb 27, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 lib/marley/jamaica.rb
  2. +1 −1 marley-jamaica.gemspec
View
2 lib/marley/jamaica.rb
@@ -7,7 +7,7 @@ class Client
def initialize(opts={})
@opts={:app_name => 'Application',:css => '', :js => ''}.merge(opts)
@client_dir="#{File.dirname(__FILE__)}/client/"
- @libs = Dir.glob("#{@client_dir}*.js")
+ @libs = Dir.glob("#{@client_dir}*.js").sort
@styles = [ 'jamaica.css' ]
end
def joint(joint_d,joint_name)
View
2 marley-jamaica.gemspec
@@ -2,7 +2,7 @@
Gem::Specification.new do |s|
s.name = %q{marley-jamaica}
- s.version = "0.0.1"
+ s.version = "0.0.2"
s.summary = %q{Jamaica Reggae client with library for Marley}
s.description = %q{A simple client for the Reggae data interchange format}
s.authors = ["Herb Daily"]

0 comments on commit e287670

Please sign in to comment.