Skip to content

Commit

Permalink
[wip]
Browse files Browse the repository at this point in the history
  • Loading branch information
jrgriffiniii committed Jul 8, 2022
1 parent a8bc9be commit afca5a5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
7 changes: 1 addition & 6 deletions app/javascript/packs/application.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,6 @@ import Turbolinks from "turbolinks"
import * as ActiveStorage from "@rails/activestorage"
import "channels"

$(document).on('turbolinks:load', () => {
console.log('loaded')
console.log(window)
})

Rails.start()
Turbolinks.start()
ActiveStorage.start()
ActiveStorage.start()
2 changes: 0 additions & 2 deletions app/views/works/_edit_javascript.html.erb
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
<script>

console.log( window );
$(function() {
var incrementCounter = function(elementId) {
var counter = parseInt($(elementId)[0].value, 10);
Expand Down

0 comments on commit afca5a5

Please sign in to comment.