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
<!DOCTYPE html> | |
<html lang="tr" class="no-js"> | |
<head> | |
<link rel="canonical"/> | |
<title>Project Name</title> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
<meta name="description" content="test"/> | |
<meta name="keywords" content="test"/> | |
<meta property="fb:app_id" content="229179347121022"/> |
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
stop: function() { | |
var behaviorInstance, moduleBehaviors; | |
if (!Array.isArray(arguments)) { | |
var element = arguments; | |
var instanceData = getInstanceDataByElement(element); | |
if (!instanceData) { |
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
/** | |
* @fileoverview The base object to generate modules | |
* @author hwclass | |
*/ | |
/** | |
* models/Module.js | |
* This object is used to generate some instances | |
* as modules to be attached into the MODULES array. | |
*/ |
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
/** | |
* @fileoverview The sample js file that are thought that publishes the coming data from an API endpoint | |
* @author hwclass | |
*/ | |
/** | |
* ajax.js | |
* This file contains a publish command for productsFetchedEvent | |
*/ | |
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 MessageStore = (function MessageStore () { | |
return { | |
HOLDING_THE_WHELL : 'holding whell...', | |
FIRING_THE_ENGINE : 'firing the engine...', | |
FULLING_THE_TANK : 'fulling the tank...', | |
HOLDING_THE_STICK : 'holding the stick' | |
} | |
})(); |
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
//Composition builder wrapper | |
const Builder = (() => { | |
compose = (obj, props) => { | |
return Object.assign(obj, props) | |
} | |
return { | |
compose: compose | |
} | |
})(); |
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
class DummyEventEmitter { | |
//it is added to make the publishing feel like an emit | |
//event in EventEmitter library. | |
emit(eventName, callback) { | |
alert(eventName, callback); | |
} | |
} | |
class CounterStore extends DummyEventEmitter { | |
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 () { | |
return { | |
URLS: { | |
ICONS: '...' | |
}, | |
MESSAGES: { | |
FILL_IN_THE_BLANKS: 'Please, fill in the blanks.' | |
} | |
} | |
}()); |
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 reducer = (() => { | |
var ABSOLUTE_STATE = {}; | |
return { | |
get: (actionAlias) => { | |
return ABSOLUTE_STATE[actionAlias]; | |
}, |
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
xyz = "xyz";; | |
Stopped due to error | |
System.Exception: Operation could not be completed due to earlier error | |
The value or constructor 'xyz' is not defined at 2,0 | |
let xyz = "xyz";; | |
val xyz : string = "xyz" | |
"abc";; | |
val it : string = "abc" |