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
<?php | |
use Xi\Filelib\Event\VersionProviderEvent; | |
use Xi\Filelib\File\File; | |
use Xi\Filelib\Plugin\Image\ArbitraryVersionPlugin; | |
use Xi\Filelib\Plugin\Image\VersionPlugin; | |
use Xi\Filelib\Plugin\VersionProvider\Events as VersionProviderEvents; | |
use Xi\Filelib\Plugin\VersionProvider\OriginalVersionPlugin; | |
use Xi\Filelib\Publisher\Adapter\Filesystem\SymlinkFilesystemPublisherAdapter; | |
use Xi\Filelib\Publisher\Linker\ReversibleCreationTimeLinker; |
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 webpack = require('webpack'); | |
module.exports = function (grunt) { | |
'use strict'; | |
require('jit-grunt')(grunt); | |
grunt.loadNpmTasks('grunt-text-replace'); | |
grunt.initConfig({ |
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
jQuery.ajax({ | |
xhrFields: { | |
withCredentials: true | |
}, | |
dataType: 'json', | |
url:'http://cookie-jar.frakt.io/uuid', | |
success: function(p) { | |
jQuery.ajax({ | |
url:'http://52.18.241.27/uuid/' + p.uuid + '.json', | |
dataType:'json', |
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
<script> | |
"use strict";!function(a,b,c){a.cookieJar=a.cookieJar||function(){(a.cookieJar.q=a.cookieJar.q||[]).push(arguments)};var d=b.createElement("script");d.async=1,d.src=c;var e=b.getElementsByTagName("script")[0];e.parentNode.insertBefore(d,e)}(window,document,"//cookie-jar.frakt.io/tracker.min.js"); | |
cookieJar( | |
'track', | |
'/url/which/we/track', | |
'[email protected]', | |
function(c) { | |
// the default banner |
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
import React from "react"; | |
import { Row, Col, ButtonGroup, Button } from 'react-bootstrap'; | |
import moment from "moment"; | |
import { List } from 'immutable'; | |
import EmployeeName from './EmployeeName'; | |
const emptySelection = '-- Valitse --'; | |
export default React.createClass({ |
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
cookieJar( | |
'track', | |
'/url/which/we/track', | |
'[email protected]', | |
function(c) { | |
// the default banner (styles or not) | |
c.defaultBanner(true); | |
// request whether user has accepted terms |
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
cookieJar('uuid', function(uuid) { | |
console.log(uuid, 'UUUUID'); | |
}); |
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($, cookieJar) { | |
cookieJar('uuid', function(uuid) { | |
if (!uuid) { | |
return; | |
} | |
$.ajax({ | |
url:'http://52.18.241.27/uuid/' + uuid + ':Adform.json', |
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
import { createAction } from 'redux-actions'; | |
import api from '../api'; | |
import { Seq, Range, List, Set } from 'immutable'; | |
import { fetchPersons } from './PersonActions'; | |
export const RECEIVE_MOVIES = 'MOVIE_RECEIVE_MOVIES'; | |
export const SET_CURRENT_MOVIE = 'MOVIE_SET_CURRENT_MOVIE'; | |
export const receiveMovies = createAction( | |
RECEIVE_MOVIES |
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
export function kulju1() { | |
}; | |
export function kulju2() { | |
}; | |
export default { | |
kulju1, |