Skip to content

Instantly share code, notes, and snippets.

View boussou's full-sized avatar

Nadir Boussoukaia boussou

View GitHub Profile
@boussou
boussou / stringify.js
Last active October 8, 2020 20:23 — forked from zmmbreeze/stringify.js
Converting circular structure to JSON on JSON.stringify / this is a version of the solution for Vue.js
// http://stackoverflow.com/questions/11616630/json-stringify-avoid-typeerror-converting-circular-structure-to-json/11616993#11616993
//this is a version for Vue.js
//filters vue.js internal properties
//you can extend Vue object instead
Object.stringify = function(value, space) {
var cache = [];
var output = JSON.stringify(value, function (key, value) {
// I had to comment L21--> ssc_root.style.height = "auto";
// it affected my bootstrap 2 layout. I see no reason for setting this.
// SmoothScroll v0.9.10
// Licensed under the terms of the MIT license.
// People involved
// - Balazs Galambosi: maintainer (CHANGELOG.txt)
// - Patrick Brunner (patrickb1991@gmail.com)
// - Michael Herf: ssc_pulse Algorithm
<?php
//here is my version (working on a sqlite db)
set_time_limit(0);
class models {
public $year_model ,
$brand ,
$model ,
$mec ,