This file contains 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
define([ | |
'jquery', | |
'knockout', | |
'text!templates/orders/orderPlacements.html', | |
'bindings/orderPlacementsBindings' | |
], function($, ko, html, PlacementGrid) { | |
var Orders = function(params) { | |
// CONSTRUCTOR - START |
This file contains 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
// Potential router.js | |
define([ | |
'jquery', | |
'knockout', | |
'router', | |
'models/Order', | |
'models/VendorPortal' | |
], function($, ko, router, Order, VendorPortal) { | |
var vendorPortal = new VendorPortal().render(); |
This file contains 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 elemdisplay = { | |
BODY: "block" | |
}, curCSS, iframe, iframeDoc, cssExpand = ["Top", "Right", "Bottom", "Left"], | |
core_pnum = /[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source, | |
cssPrefixes = ["Webkit", "O", "Moz", "ms"], | |
rnumsplit = new RegExp("^(" + core_pnum + ")(.*)$", "i"), | |
rnumnonpx = new RegExp("^(" + core_pnum + ")(?!px)[a-z%]+$", "i"), | |
ralpha = /alpha\([^)]*\)/i, | |
ropacity = /opacity=([^)]*)/, | |
rposition = /^(top|right|bottom|left)$/, |
This file contains 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
'use strict'; | |
angular.module('app.sell').directive('tooltip', function() { | |
return { | |
restrict: 'EA', | |
transclude: true, | |
scope: { | |
text: '@' | |
}, |
This file contains 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
;; Anything you type in here will be executed | |
;; immediately with the results shown on the | |
;; right. | |
( #(conj %1 %2 %3) {"foo" "bar"} {"zub" "bub"} { "hi" "there"} ) | |
( (fn [yep stuff] (conj yep stuff)) {"foo" "bar"} {"zub" "bub"} ) | |
( #(* 2 %) 5) |
This file contains 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
/** @jsx React.DOM */ | |
/* jshint ignore:start */ | |
var Step1 = React.createClass({ | |
// transferPropsTo() will take any props passed to CheckLink | |
// and copy them to <a> | |
handleMakeChange: function(makeValue) { | |
this.setState({ | |
makeValue: makeValue |
This file contains 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 times = { "Schedule": { | |
"2014-09-27T00:00:00": [ | |
16 | |
], | |
"2014-09-28T00:00:00": [ | |
8, | |
9, | |
10, | |
11, | |
14 |
This file contains 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(modules) { // webpackBootstrap | |
/******/ // The module cache | |
/******/ var installedModules = {}; | |
/******/ | |
/******/ // The require function | |
/******/ function __webpack_require__(moduleId) { | |
/******/ | |
/******/ // Check if module is in cache | |
/******/ if(installedModules[moduleId]) | |
/******/ return installedModules[moduleId].exports; |
This file contains 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
git config alias.pullall '!f(){ git pull "$@" && git submodule update --init --recursive; }; f' |
This file contains 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
// Code goes here | |
var Parent = function(foo1){ | |
this.foo1 = foo1 | |
} | |
Parent.prototype.derp = function(){ | |
console.log('derp derp'); | |
} |
OlderNewer