All Questions
Tagged with pug coffeescript
58
questions
0
votes
1
answer
135
views
Getting Google Maps to load in meteor project
I am have an issue of getting my meteor project to display a map. I am using dburles as my googleapi library. I have followed the instructions in the tutorial and my GoogleMaps.load() returns ...
0
votes
1
answer
115
views
Using one autoForm, I need to insert data into two collections
I am currently working on an inventory system that takes a Part Collection, and a Purchase Collection as the backbone of the application. Each part much have a corresponding purchase. I.E a Part must ...
1
vote
0
answers
110
views
Vue & Pug - CoffeScript in attributes
So I'm using Vue with the template written in Pug and I'd like to use a bit of CoffeeScript in the Pug markdown.
Something like this:
input( v-model.trim="#[:coffee-script user?.details?.last_name]" ...
0
votes
1
answer
123
views
how json data into pug template (mongoose)
I'm trying to develop a website using angular mongo and node (coffee script and mongoose). I got some database value from the mongo db but I need to show the data into the pug template engine
here ...
1
vote
1
answer
113
views
using meteor with coffeescript and jade: callback[i].call is not a function
I have been trying out Meteor with Coffeescript and Jade. And for the most basic app I wrote the following code.
main.coffee
import './hello.coffee'
import './main.jade'
main.jade
head
title ...
0
votes
1
answer
34
views
Once I delete a filter everything disappear in AngularJS
Once i have selected a filter and I want to delete it, it delete the filter in the select "box" but everything disappear but it should display everything filterless like when I run de page for the ...
0
votes
1
answer
41
views
Dynamicaly add event to Meteor template
In my Meteor.JS app I want to dynamicaly add click events on elements taken from database. Unfortunately, function is not triggered after click (but event is added to Template.algorithms.__eventsMap ...
1
vote
1
answer
46
views
How to put some html markdowns in an angular-translate variable?
There is my problem: I have to put a long sentence with bold and underlined parts in a variable. First of all, I cut it in several variables and it worked very well, but I thought about the translator ...
0
votes
1
answer
59
views
How to execute code after reactive table has rendered?
I have a template called inboxSection. In that template I have a reactive table. The code looks something like this:
template(name="inboxSection")
.col-xs-12.curator-inbox-section-head
.pull-...
0
votes
1
answer
405
views
Dynamically change ng-if in custom directive
There is the following code (Jade):
img(
data-ng-src = "{{ ctrl.getAttachmentPreview(attachment) }}",
data-ng-if = "attachment.media_type == 'image'",
data-image-error = "xxx"
...
0
votes
1
answer
68
views
Express.io does not load Javascript file
I have a Express.io server running, which works fine, however my Javascript files will not load properly.
I have a Jade file, which looks like this:
html
head
h1 Test index
body
...
1
vote
1
answer
5k
views
CSS: How to fit a circular progress bar according to screen size (mobile)
this is more of a CSS question.
I have gotten the code to create a circular progress bar from this link. I have pasted the code below as well.
Currently, when I used the code, it creates a circular ...
0
votes
1
answer
104
views
"more" button in a list responsive as angular directive in .jade and .cofee
I need to do something like this but as an AngularJS directive and using .jade and .coffee. I am quite new to the last ones, so I don't how can I achieve that.
var elemWidth, fitCount, fixedWidth = ...
0
votes
1
answer
408
views
Sorting Progress from User Data in Jade using CoffeeScript
I currently have an issue.. I'm trying to sort progress bars from least to greatest in the Jade template system.
Basically the way the script is currently setup on the jade end is just grabbing data ...
0
votes
1
answer
333
views
Passing variable to Modal window in Angular with Jade and CoffeeScript
I am trying to pass a value from a page to a pop-up modal window but the browser gives me an undefined value. Following is my page controller function for the modal window
$scope.showUserDetails = (...