Skip to content

Instantly share code, notes, and snippets.

View josemarluedke's full-sized avatar

Josemar Luedke josemarluedke

View GitHub Profile
@josemarluedke
josemarluedke / ember-projections.json
Last active August 15, 2018 01:06 — forked from AndrewRadev/ember-projections.json
A `.projections.json` file that can be used with vim-projectionist for navigating ember.js projects classic structure app.
{
"app/initializers/*.js": {
"type": "initializer",
"alternate": "tests/unit/initializers/{}-test.js"
},
"tests/unit/initializers/*-test.js": {
"type": "initializer-test",
"alternate": "app/initializers/{}.js"
},
"app/instance-initializers/*.js": {
Tasker.Projects = {} if Tasker.Projects is undefined
Tasker.Projects.Show = ->
$('.new-task-button').click ->
url = $(this).data('url')
$.ajax
url: url
type: "GET"
success: (data)->
$('#newTask .modal-body').html(data)