Skip to content

Commit d716513

Browse files
committed
Setup jQuery
1 parent 549e604 commit d716513

File tree

6 files changed

+11
-0
lines changed

6 files changed

+11
-0
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
//= require jquery
2+
//= require_tree .
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
jQuery ->
2+
console.log("test jquery!")

app/assets/stylesheets/skmz/application.css

Whitespace-only changes.

app/controllers/skmz/info/schemas_controller.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
module Skmz
22
module Info
33
class SchemasController < ActionController::Base
4+
layout 'skmz/application'
5+
46
def index
57
@schema = Skmz::Schema.load
68
end

skmz.gemspec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ Gem::Specification.new do |spec|
1818
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
1919
spec.require_paths = ["lib"]
2020

21+
spec.add_dependency "coffee-rails"
2122
spec.add_dependency "rails", ">= 4.0"
2223

2324
spec.add_development_dependency "bundler", "~> 1.3"

vendor/assets/javascripts/jquery.js

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)