Menu icon Foundation

Coder | Bratislava

My Posts




My Comments

Radek Hrančík commented on George Bratsos's post over 2 years

Prior to using snippets it is necessary to save new untitled file as e.g. "something.html" ;-) Than it starts to work properly...

Radek Hrančík commented on Radek Hrančík's post about 3 years

I use rails gem 'google-webfonts-rails'. In my application.css.scss is @import(ed) only font-awesome but no fonts declared in head section of application.html.haml
= google_webfonts_init({ google: ['Dynalight', 'Italianno', 'Noticia Text:400,400italic,700,700italic:latin,latin-ext', 'Bad Script:cyrillic', 'PT Serif:400,400italic,700,700italic:latin,cyrillic'] })
I'm sure I didn't download any of that fonts.

Radek Hrančík commented on Radek Hrančík's post over 3 years

:-))))))))) Sorry. My mistake... I edited the menu instance which is hidden by default in small (mobile) screen instead of the proper one. It is OK now ;-)

Radek Hrančík commented on Radek Hrančík's post over 4 years

All scripts from development environment:

<script src="/assets/vendor/modernizr-ab036539ab2eac66b636accb8d06d77b.js?body=1"></script>
<script src="/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" data-turbolinks-track="true"></script>
<script src="/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" data-turbolinks-track="true"></script>
<script src="/assets/foundation/foundation.abide-66e71b59a5c0804e8ac4d142eea25698.js?body=1" data-turbolinks-track="true"></script>
<script src="/assets/foundation/foundation.accordion-2b104e2d26a3ab8ff360d79d01cbb399.js?body=1" data-turbolinks-track="true"></script>
<script src="/assets/foundation/foundation.alert-a4b62785f888b0fc5f4d8a14839f3c5e.js?body=1" data-turbolinks-track="true"></script>
<script src="/assets/foundation/foundation.clearing-d1ef17605950f770c9452822c077bab8.js?body=1" data-turbolinks-track="true"></script>
<script src="/assets/foundation/foundation.dropdown-9a6e2af5e84cf6a6070fda4abad2b3ae.js?body=1" data-turbolinks-track="true"></script>
<script src="/assets/foundation/foundation.equalizer-c813bb8e62318c075ad4363dbaea69bb.js?body=1" data-turbolinks-track="true"></script>
<script src="/assets/foundation/foundation.interchange-5a145378c0dbbe7a6278a6c6dea4e85b.js?body=1" data-turbolinks-track="true"></script>
<script src="/assets/foundation/foundation.joyride-8e153a5415ba8dc1f6e06d9a15081bf7.js?body=1" data-turbolinks-track="true"></script>
<script src="/assets/foundation/foundation-737d3daa8d71195933faf90ce43070ed.js?body=1" data-turbolinks-track="true"></script>
<script src="/assets/foundation/foundation.magellan-9bfa9c80f6599fd9e537a192dca57fb1.js?body=1" data-turbolinks-track="true"></script>
<script src="/assets/foundation/foundation.offcanvas-2aee1b8f0d783a8524b41129509f8c0a.js?body=1" data-turbolinks-track="true"></script>
<script src="/assets/foundation/foundation.orbit-3294d1f9445c7409a5bde9270e3163c3.js?body=1" data-turbolinks-track="true"></script>
<script src="/assets/foundation/foundation.reveal-c22ba79be29dc09ae08736d5abb85a95.js?body=1" data-turbolinks-track="true"></script>
<script src="/assets/foundation/foundation.slider-7fc3709c633a3e70d20b44e9887d4563.js?body=1" data-turbolinks-track="true"></script>
<script src="/assets/foundation/foundation.tab-569e276c0f83148856cb77d2fd7e3f1c.js?body=1" data-turbolinks-track="true"></script>
<script src="/assets/foundation/foundation.tooltip-70f133970771bf4271610337ff4f99f2.js?body=1" data-turbolinks-track="true"></script>
<script src="/assets/foundation/foundation.topbar-df289b8649bd202ef0bfc79fd41e5c8b.js?body=1" data-turbolinks-track="true"></script>
<script src="/assets/foundation-f82f49f561c31d14f4aba6f653c8cbe2.js?body=1" data-turbolinks-track="true"></script>
<script src="/assets/turbolinks-f87b3583ca50adb0488b031297f5580d.js?body=1" data-turbolinks-track="true"></script>
<script src="/assets/home-fcec5b5a277ac7c20cc9f45a209a3bcd.js?body=1" data-turbolinks-track="true"></script>
<script src="/assets/application-b983b4d755ee7a80bd72e31f815d5f5d.js?body=1" data-turbolinks-track="true"></script>

are in production environment precompiled and packed to:
HTML
<script src="/assets/application-8b83876ccc00c1c4f301c66b1bd6fee3.js" data-turbolinks-track="true"></script>

by the deployment mechanism.

Here is the source for compilation:

 // This is a manifest file that'll be compiled into application.js, which will include all the files
// listed below.
//
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
//
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
// compiled file.
//
// Read Sprockets README (https://github.com/sstephenson/sprockets#sprockets-directives) for details
// about supported directives.
//
//= require jquery
//= require jquery_ujs
//= require foundation
//= require turbolinks
//= require_tree .

$(function(){ $(document).foundation(); });

Posts Followed


Following

    No Content

Followers

My Posts

My Comments

You commented on George Bratsos's post over 2 years

Prior to using snippets it is necessary to save new untitled file as e.g. "something.html" ;-) Than it starts to work properly...

You commented on Radek Hrančík's post about 3 years

I use rails gem 'google-webfonts-rails'. In my application.css.scss is @import(ed) only font-awesome but no fonts declared in head section of application.html.haml
= google_webfonts_init({ google: ['Dynalight', 'Italianno', 'Noticia Text:400,400italic,700,700italic:latin,latin-ext', 'Bad Script:cyrillic', 'PT Serif:400,400italic,700,700italic:latin,cyrillic'] })
I'm sure I didn't download any of that fonts.

You commented on Radek Hrančík's post over 3 years

:-))))))))) Sorry. My mistake... I edited the menu instance which is hidden by default in small (mobile) screen instead of the proper one. It is OK now ;-)

You commented on Radek Hrančík's post over 4 years

All scripts from development environment:

<script src="/assets/vendor/modernizr-ab036539ab2eac66b636accb8d06d77b.js?body=1"></script>
<script src="/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" data-turbolinks-track="true"></script>
<script src="/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" data-turbolinks-track="true"></script>
<script src="/assets/foundation/foundation.abide-66e71b59a5c0804e8ac4d142eea25698.js?body=1" data-turbolinks-track="true"></script>
<script src="/assets/foundation/foundation.accordion-2b104e2d26a3ab8ff360d79d01cbb399.js?body=1" data-turbolinks-track="true"></script>
<script src="/assets/foundation/foundation.alert-a4b62785f888b0fc5f4d8a14839f3c5e.js?body=1" data-turbolinks-track="true"></script>
<script src="/assets/foundation/foundation.clearing-d1ef17605950f770c9452822c077bab8.js?body=1" data-turbolinks-track="true"></script>
<script src="/assets/foundation/foundation.dropdown-9a6e2af5e84cf6a6070fda4abad2b3ae.js?body=1" data-turbolinks-track="true"></script>
<script src="/assets/foundation/foundation.equalizer-c813bb8e62318c075ad4363dbaea69bb.js?body=1" data-turbolinks-track="true"></script>
<script src="/assets/foundation/foundation.interchange-5a145378c0dbbe7a6278a6c6dea4e85b.js?body=1" data-turbolinks-track="true"></script>
<script src="/assets/foundation/foundation.joyride-8e153a5415ba8dc1f6e06d9a15081bf7.js?body=1" data-turbolinks-track="true"></script>
<script src="/assets/foundation/foundation-737d3daa8d71195933faf90ce43070ed.js?body=1" data-turbolinks-track="true"></script>
<script src="/assets/foundation/foundation.magellan-9bfa9c80f6599fd9e537a192dca57fb1.js?body=1" data-turbolinks-track="true"></script>
<script src="/assets/foundation/foundation.offcanvas-2aee1b8f0d783a8524b41129509f8c0a.js?body=1" data-turbolinks-track="true"></script>
<script src="/assets/foundation/foundation.orbit-3294d1f9445c7409a5bde9270e3163c3.js?body=1" data-turbolinks-track="true"></script>
<script src="/assets/foundation/foundation.reveal-c22ba79be29dc09ae08736d5abb85a95.js?body=1" data-turbolinks-track="true"></script>
<script src="/assets/foundation/foundation.slider-7fc3709c633a3e70d20b44e9887d4563.js?body=1" data-turbolinks-track="true"></script>
<script src="/assets/foundation/foundation.tab-569e276c0f83148856cb77d2fd7e3f1c.js?body=1" data-turbolinks-track="true"></script>
<script src="/assets/foundation/foundation.tooltip-70f133970771bf4271610337ff4f99f2.js?body=1" data-turbolinks-track="true"></script>
<script src="/assets/foundation/foundation.topbar-df289b8649bd202ef0bfc79fd41e5c8b.js?body=1" data-turbolinks-track="true"></script>
<script src="/assets/foundation-f82f49f561c31d14f4aba6f653c8cbe2.js?body=1" data-turbolinks-track="true"></script>
<script src="/assets/turbolinks-f87b3583ca50adb0488b031297f5580d.js?body=1" data-turbolinks-track="true"></script>
<script src="/assets/home-fcec5b5a277ac7c20cc9f45a209a3bcd.js?body=1" data-turbolinks-track="true"></script>
<script src="/assets/application-b983b4d755ee7a80bd72e31f815d5f5d.js?body=1" data-turbolinks-track="true"></script>

are in production environment precompiled and packed to:
HTML
<script src="/assets/application-8b83876ccc00c1c4f301c66b1bd6fee3.js" data-turbolinks-track="true"></script>

by the deployment mechanism.

Here is the source for compilation:

 // This is a manifest file that'll be compiled into application.js, which will include all the files
// listed below.
//
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
//
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
// compiled file.
//
// Read Sprockets README (https://github.com/sstephenson/sprockets#sprockets-directives) for details
// about supported directives.
//
//= require jquery
//= require jquery_ujs
//= require foundation
//= require turbolinks
//= require_tree .

$(function(){ $(document).foundation(); });

Posts Followed

Following

  • No Content

Followers

  • No Content