A Pen by brandon flowers on CodePen.
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
// see https://github.com/headwinds/tutorials/tree/master/marionettejs/marionettejs-collection-view | |
define([ | |
'underscore', | |
'backbone', | |
'marionette', | |
'views/user/UserItemView', | |
'models/user/UserModel', | |
'collections/user/UserCollection' | |
], function(_, Backbone, Marionette, UserItemView, UserModel, UserCollection ) { |
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
var formidable = require('formidable'), | |
http = require('http'), | |
util = require('util'); | |
var FileUploadService = {}; | |
FileUploadService.purpose = function(){ | |
console.log("\n"); | |
console.log("-----------------------------------------------"); |
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
/* | |
this file has been simplified to show only the event pattern | |
*/ | |
'use strict'; | |
var util = require("util"); | |
var events = require("events"); | |
var _ = require("underscore"); |
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
// this is building on top of the excellent work by | |
// https://github.com/linnovate/mean/compare/no-window-user | |
// I simply added error handling and the ability to access multiple routes | |
'use strict'; | |
//Global service for global variables | |
angular.module('mean.system').factory("Global", ['$http', | |
function($http) { | |
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
license: gpl-3.0 |
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
license: gpl-3.0 |
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
license: gpl-3.0 |
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
license: gpl-3.0 |
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
license: gpl-3.0 |
OlderNewer