Posts by Thiago Pontes • 156 points
3 posts
-
0
votes2
answers523
viewsA: Concatenate . Sass files with Compass
You can create a file main.scss and put in it the @imports of the . scss you want to concatenate. Then compile main.scss: $ compass compile main.scss Example of main.scss: @import 'header.scss';…
-
3
votes1
answer235
viewsA: Folder Structure for Backbone without Requirejs
You can use the same structure as a project with requirejs with the Asset Rails pipeline. Using a file only for models, Collections and etc depends a lot on the size of your project. Example…
-
1
votes7
answers7922
viewsA: Convert an array of floats to integer
An alternative way, using map: map(int, [1.2, 2.1, 3.1]) The map applies the function passed in the first parameter in each element of the list of the second parameter.…