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
| MATCH (n) DETACH DELETE n; | |
| CREATE (TheMatrix:Movie {title:'The Matrix', released:1999, tagline:'Welcome to the Real World'}) | |
| CREATE (Keanu:Person {name:'Keanu Reeves', born:1964}) | |
| CREATE (Carrie:Person {name:'Carrie-Anne Moss', born:1967}) | |
| CREATE (Laurence:Person {name:'Laurence Fishburne', born:1961}) | |
| CREATE (Hugo:Person {name:'Hugo Weaving', born:1960}) | |
| CREATE (LillyW:Person {name:'Lilly Wachowski', born:1967}) | |
| CREATE (LanaW:Person {name:'Lana Wachowski', born:1965}) | |
| CREATE (JoelS:Person {name:'Joel Silver', born:1952}) | |
| CREATE |
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
| //Source: http://www.virgentech.com/blog/2009/10/building-object-oriented-jquery-plugin.html | |
| //Author: Hector Virgen | |
| //Date: August 23, 2010 | |
| (function($) { | |
| var MyPlugin = function(element, options) { | |
| var elem = $(element); | |
| var obj = this; |
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
| let call; | |
| const once = (config = {}) => { | |
| if (call) { | |
| call.cancel("Only one request allowed at a time."); | |
| } | |
| call = axios.CancelToken.source(); | |
| config.cancelToken = call.token | |
| return axios(config); | |
| } |
OlderNewer