The main aim is to create a simple UI using React and The Movies DB API.
I hereby claim:
- I am vadym-vorobel on github.
- I am vadymvorobel (https://keybase.io/vadymvorobel) on keybase.
- I have a public key ASC3uQByVqPuDn3jBIgW00-iYVmpVR1e9Ib5hTX5b7H5lQo
To claim this, I am signing this object:
_msearch request response: https://snag.gy/0kBbma.jpg
ReactiveList render method parameters: https://snag.gy/p1iubm.jpg
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 structureTypes = { | |
type: 'type', | |
typeCount: 'typeCount', | |
}; | |
// ============ PARAMETERS ============= | |
var collectionName = ''; | |
var limit = 0; // 0 - analyze all documents | |
var structureType = structureTypes.type; | |
// ===================================== |
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
import { Template } from 'meteor/templating'; | |
import initSubsManager from './subs-manager'; | |
const subsManager = initSubsManager(); | |
// you can show subs manager logs with debug mode | |
// subsManager.debug(); | |
Template.example.onCreated(function () { |
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
Some important data |
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
// Generate unique IDs for use as pseudo-private/protected names. | |
// Similar in concept to | |
// <http://wiki.ecmascript.org/doku.php?id=strawman:names>. | |
// | |
// The goals of this function are twofold: | |
// | |
// * Provide a way to generate a string guaranteed to be unique when compared | |
// to other strings generated by this function. | |
// * Make the string complex enough that it is highly unlikely to be | |
// accidentally duplicated by hand (this is key if you're using `ID` |
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
.generate-paddings-options(20); | |
.generate-paddings-options(@n, @i: 0) when (@i =< @n) { | |
@step: @i*5; | |
.p-t-@{step} { | |
padding-top: (@step*1px) !important; | |
} | |
.p-r-@{step} { | |
padding-right: (@step*1px) !important; | |
} |
NewerOlder