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 Ember from 'ember'; | |
export default Ember.Controller.extend({ | |
appName: "Ember\nTwiddle", | |
}); |
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 Ember from 'ember'; | |
import { Promise } from 'rsvp' | |
export default Ember.Controller.extend({ | |
appName: 'Template Numbers', | |
someBool: true, | |
init() { | |
this._super(...arguments) | |
this.send('fakeCallback') |
This file has been truncated, but you can view the full file.
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
<?xml version="1.0" encoding="UTF-8"?> | |
<spocosy version="1.0" responsetime="2011-03-15 13:53:12" exec="0.171"> | |
<query-response requestid="" service="objectquery"> | |
<sport name="Soccer" enetSportCode="s" del="no" n="1" ut="2009-12-29 15:36:24" id="1"> | |
<tournament_template name="England 1" sportFK="1" gender="male" enetID="0" del="no" n="0" ut="2009-12-29 16:31:33" id="47"> | |
<tournament name="2010/2011" tournament_templateFK="47" enetSeasonID="55" del="no" locked="none" n="0" ut="2010-06-17 10:14:31" id="5261"> | |
<tournament_stage name="Premier League" tournamentFK="5261" countryFK="2" gender="male" enetID="4" startdate="2010-08-14" enddate="2011-05-22" del="no" locked="none" n="42" ut="2011-01-19 11:15:29" id="820745"> | |
<properties> | |
<property object="tournament_stage" objectFK="820745" type="metadata" name="International" value="no" del="no" n="0" ut="2010-07-28 08:58:34" id="10533355" /> | |
<property object="tournament_stage" objectFK="820745" 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
/* | |
* Benchmarking xml to json parsers | |
* @author Sander AKA Redsandro (http://www.Redsandro.com) | |
*/ | |
var path = require('path'); | |
var util = require('util'); | |
var fs = require('fs'); | |
var q = require('q'); | |
q.longStackSuppor = true; |
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
/* | |
* Collapsible JSON Formatter - Formatter and colorer of raw JSON code | |
* | |
* jQuery Json Formatter plugin v0.1.3 | |
* | |
* Usage | |
* ----- | |
* | |
* $('#target').jsonFormat('#source'); // or | |
* $('#target').jsonFormat('#source', {options override defaults}); // see jf.config |
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
/** | |
* json2xml NodeJS Module - Convert an xml2js JSON object back to XML | |
* | |
* Redsandro - changed into requirable | |
* | |
* @author Derek Anderson | |
* @copyright 2011 Media Upstream | |
* @license MIT License | |
* @url https://gist.github.com/1495793 | |
* |