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
$curl = curl_init(); | |
curl_setopt_array($curl, array( | |
CURLOPT_RETURNTRANSFER => 1, | |
CURLOPT_URL => 'http://producteev.com/api/networks/{idNetwork}/projects?access_token={myAccessToken}' | |
)); | |
$result = curl_exec($curl); |
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
// js file | |
var next_data_url; // replaced when loading more | |
var prev_data_url; // replaced when loading more | |
var next_data_cache; | |
var prev_data_cache; | |
var last_scroll = 0; | |
var is_loading = 0; // simple lock to prevent loading when loading | |
var hide_on_load = false; // ID that can be hidden when content has been loaded |