I hereby claim:
- I am swaroopsm on github.
- I am swaroopsm (https://keybase.io/swaroopsm) on keybase.
- I have a public key ASDZtVyzmDbRXdQUDF9GuWuFpEtgnzudryukFKh64Kk28wo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
var BaseModel = Backbone.Model.extend({ | |
_relations: { | |
hasOne: {} | |
}, | |
parse: function(data) { | |
var model; | |
if(_.isFunction(this.hasOne)) { this._createRelation('hasOne'); } |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
<?php | |
require 'templateengine.php'; | |
$name = 'Swaroop'; | |
$age = 24; | |
$template = new TemplateEngine(); | |
$template->setTemplate('template.php'); | |
$template->setData('name', $name); |
# Copyright (c) 2013 Swaroop SM <[email protected]> | |
# This program is free: you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation, either version 3 of the License, or | |
# (at your option) any later version. | |
# This program is distributed in the hope that it will be useful, | |
# but WITHOUT ANY WARRANTY; without even the implied warranty of | |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
# GNU General Public License for more details. |
# Copyright (c) 2013 Swaroop SM <[email protected]> | |
# This program is free: you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation, either version 3 of the License, or | |
# (at your option) any later version. | |
# This program is distributed in the hope that it will be useful, | |
# but WITHOUT ANY WARRANTY; without even the implied warranty of | |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
# GNU General Public License for more details. |
// Copyright (c) 2012 Swaroop SM <[email protected]> | |
// This program is free: you can redistribute it and/or modify | |
// it under the terms of the GNU General Public License as published by | |
// the Free Software Foundation, either version 3 of the License, or | |
// (at your option) any later version. | |
// This program is distributed in the hope that it will be useful, | |
// but WITHOUT ANY WARRANTY; without even the implied warranty of | |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
// GNU General Public License for more details. |
# Copyright (c) 2012 Swaroop SM <[email protected]> | |
# This program is free: you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation, either version 3 of the License, or | |
# (at your option) any later version. | |
# This program is distributed in the hope that it will be useful, | |
# but WITHOUT ANY WARRANTY; without even the implied warranty of | |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
# GNU General Public License for more details. |