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
| setData: function (path, data) { | |
| var model = this.getModel(); | |
| // Target initialize as a root reference of model (which is an object!) | |
| var target = model.getData(); | |
| var aPath = path ? path.split("/") : "/"; | |
| // This function is named 'getTarget' but it also does assign data to the target. | |
| var getTarget = function (pathParts, i) { | |
| if (typeof i === "undefined") i = 0; |
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
| <%= render 'shared/owner/steps' %> | |
| <section class="panel panel-default wizard"> | |
| <div class="panel-body"> | |
| <div class="row"> | |
| <div class="col-md-8 col-md-offset-2"> | |
| <!-- Content --> | |
| <h3>Show off your business to potential customers! <br>Upload between 3 and 16 images.</h3> |
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
| class GalleryName | |
| constructor: (name, form, confirmBtn, cancelBtn, editBtn)-> | |
| @name = $('.js-name') | |
| @form = $(form) | |
| @confirmBtn = $(confirmBtn) | |
| @cancelBtn = $(cancelBtn) | |
| @editBtn = $(editBtn) | |
| if @name.lenght | |
| @galleryNameValue = @name.html().trim() |
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
| Comparación entre diferentes metodologías de trabajo con CSS: | |
| OOCSS: | |
| ██████╗ ██████╗ ██████╗ ███████╗ ███████╗ | |
| ██╔═══██╗ ██╔═══██╗ ██╔════╝ ██╔════╝ ██╔════╝ | |
| ██║ ██║ ██║ ██║ ██║ ███████╗ ███████╗ | |
| ██║ ██║ ██║ ██║ ██║ ╚════██║ ╚════██║ |
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
| $(document).on('ready', function() { | |
| function your_shitty_function () { | |
| var animationTime = 300; | |
| var quietPeriod = 100; | |
| var lastAnimation = 0; | |
| $('.your-shit-class').on('mousewheel', function(e) { | |
| //Getting actual time when event success | |
| var timeNow = new Date().getTime(); |
NewerOlder