This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| alias s="open -a Sublime\ Text ." | |
| source ~/git-completion.bash | |
| export PS1="\h:\W \u\$(__git_ps1)\$" | |
| # Colored up cat! | |
| # You must install Pygments first - "sudo easy_install Pygments" | |
| alias c='pygmentize -O style=monokai -f console256 -g' | |
| ### Prompt Colors |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // REGISTER WORKER | |
| "use strict"; | |
| "serviceWorker" in navigator && navigator.serviceWorker.register("sw?v=${java.net.URLEncoder.encode(serviceWorkerVersion)} /* WORKER_URL */", { | |
| scope: "./" | |
| }).then(function(e) { | |
| "function" == typeof e.update && e.update(), e.onupdatefound = function() { | |
| var o = e.installing; | |
| o.onstatechange = function() { | |
| switch (o.state) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // REGISTER WORKER | |
| "use strict"; | |
| "serviceWorker" in navigator && navigator.serviceWorker.register("sw?v=${java.net.URLEncoder.encode(serviceWorkerVersion)} /* WORKER_URL */", { | |
| scope: "./" | |
| }).then(function(e) { | |
| "function" == typeof e.update && e.update(), e.onupdatefound = function() { | |
| var o = e.installing; | |
| o.onstatechange = function() { | |
| switch (o.state) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (function (exports, $) { | |
| 'use strict'; | |
| /** | |
| * Private and dependencies | |
| */ | |
| var optionsDefault = {}; | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /*! | |
| * SPA Loader | |
| * Based on https://css-tricks.com/snippets/jquery/load-jquery-only-if-not-present/ | |
| */ | |
| ;(function (win, doc) { | |
| 'use strict'; | |
| var head = doc.head || doc.getElementsByTagName('head')[0]; | |
| var bind = (win.addEventListener ? 'addEventListener' : 'attachEvent'); | |
| var prefix = (bind === 'addEventListener' ? '' : 'on'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (function(){ | |
| var pablo = { | |
| facha: 9 | |
| }; | |
| function consolearFacha() { | |
| var i = 1, | |
| fachaLenght = pablo.facha; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* ************** COMPONENTE **************** */ | |
| // Modelos del componente Price | |
| Syi.module('Price.Models', function (Module, Syi, Backbone, Marionette, $, _) { | |
| Module.priceModel = Backbone.model.extend({ | |
| 'price': '100', | |
| 'cents': '50', | |
| 'currency': 'USD' | |
| }) | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* HTML */ | |
| // Cambio el #carousel por .carousel | |
| <div class="carousel-container" id="carousel1"> | |
| <div class="carousel-mask"> | |
| <ul class="carousel"> | |
| <li><img src="./images/img2.jpg"></li> | |
| <li><img src="./images/img2.jpg"></li> | |
| <li><img src="./images/img2.jpg"></li> | |
| <li><img src="./images/img2.jpg"></li> | |
| </ul> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var meli = meli || {}; | |
| /* | |
| * meli.prefetch | |
| */ | |
| ;(function (window) { | |
| "use strict"; | |
| meli.prefetch = {}; | |
| /* Private Methods and variables */ |