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
| .m-section--small.l-product-box.mtl.mbl | |
| .g-container | |
| .g-row.mbl.pbl | |
| p This is the test page | |
| lola-subscription | |
| lola-assortment-selector(ng-if="attributes.type != liner", product='product' box-slider="'m-tamponsBox-slider'") | |
| lola-quantity-selector(product='product', prices='prices') |
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
| angular.module('LolaApp').controller 'ProductDynamicCtrl', ($scope, product) -> | |
| prices = {} | |
| $scope.product = product | |
| debugger | |
| $scope.prices = -> | |
| _priceCheck() | |
| @_price_check = -> | |
| # {1:10, 2:18, 3:27} | |
| product_prices = product.variants.first().volume_pricing |
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 Reformation::VariantAvailability | |
| include Reformation::Availability | |
| def initialize(variant_ids, store_id) | |
| @store = Spree::Store.find(store_id) | |
| @variant_ids = variant_ids | |
| @availability = [] | |
| end | |
| def locate |
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 killApp(app) { | |
| Application(app).quit(); | |
| } | |
| ['Slack', 'Textual'].forEach(killApp); |
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
| #include "ergodox_ez.h" | |
| #include "debug.h" | |
| #include "action_layer.h" | |
| #define BASE 0 // default layer | |
| #define WORK 1 // workman layout | |
| #define MDIA 2 // media keys | |
| const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |
| [BASE] = KEYMAP( // Layer0: default, leftled:none |
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
| module Hollar | |
| module Spree | |
| module OmniauthCallbacksControllerDecorator | |
| def self.prepended(base) | |
| base.after_action :check_share_code, only: [:facebook] | |
| base.after_action :assign_name, only: [:facebook] | |
| end | |
| def check_share_code | |
| invite_code = cookies[:invite_code] |
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
| #include "keymap_common.h" | |
| const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |
| [0] = { /* Qwerty */ | |
| {KC_Q, KC_W, KC_E, KC_R, KC_T, KC_ESC, KC_BSPC, KC_Y, KC_U, KC_I, KC_O, KC_P}, | |
| {KC_A, KC_S, KC_D, KC_F, KC_G, KC_TAB, KC_QUOT, KC_H, KC_J, KC_K, KC_L, KC_SCLN}, | |
| {KC_Z, KC_X, KC_C, KC_V, KC_B, KC_ENT, KC_ENT, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH}, | |
| {KC_RSFT, KC_LCTL, KC_LALT, KC_LGUI, KC_SPC, FUNC(1), FUNC(1), KC_SPC, KC_RGUI, KC_RALT, KC_RCTL, KC_RSFT} | |
| }, | |
| [1] = { /* Norman */ |
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
| require 'rails_helper' | |
| RSpec.describe 'OrdersApi', type: :request do | |
| include_context 'api_controller_setup' | |
| let(:order) { create :order, user: user } | |
| describe 'POST #create' do | |
| subject { JSON.parse(response.body) } | |
| describe 'channel property of mobile/api orders' do |
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
| require 'rails_helper' | |
| RSpec.describe ::Spree::Admin::Users::CommentsController, type: :controller do | |
| include_context 'admin_controller_setup' | |
| let(:admin) { create(:admin_user) } | |
| let(:comment) { create :comment, order: nil } | |
| describe 'GET #index' do | |
| before :each do | |
| spree_get :index, user_id: comment.user.id |
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
| (ns hello-world.core | |
| (:require [cljs.nodejs :as nodejs] | |
| [clojure.string :as string])) | |
| (nodejs/enable-util-print!) | |
| (defonce express (nodejs/require "express")) | |
| (defonce http (nodejs/require "http")) | |
| (defonce server-port 3889) |