adding debugger and opal rails
This commit is contained in:
3
app/assets/javascripts/debug.js.rb
Normal file
3
app/assets/javascripts/debug.js.rb
Normal file
@ -0,0 +1,3 @@
|
||||
require "opal"
|
||||
|
||||
require "debugger"
|
4
app/assets/stylesheets/debug.css
Normal file
4
app/assets/stylesheets/debug.css
Normal file
@ -0,0 +1,4 @@
|
||||
/*
|
||||
*= require css/menu
|
||||
*= require css/app
|
||||
*/
|
6
app/controllers/debugger_controller.rb
Normal file
6
app/controllers/debugger_controller.rb
Normal file
@ -0,0 +1,6 @@
|
||||
class DebuggerController < ApplicationController
|
||||
|
||||
def index
|
||||
render layout: false
|
||||
end
|
||||
end
|
7
app/views/debugger/index.html.haml
Normal file
7
app/views/debugger/index.html.haml
Normal file
@ -0,0 +1,7 @@
|
||||
!!!
|
||||
%html
|
||||
%head
|
||||
%title Debugger
|
||||
= stylesheet_link_tag 'debug', media: 'all'
|
||||
%body
|
||||
= javascript_include_tag "debug"
|
Reference in New Issue
Block a user