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
| def addProfile = Action(parse.multipartFormData) { | |
| request => | |
| val formData = (request.body).asFormUrlEncoded | |
| val email = formData.get("email").get(0) | |
| val name = formData.get("name").get(0) | |
| val userId = User.create(User(email, name)) | |
| request.body.file("displayPic").map { | |
| picture => | |
| val fileName = businessId | |
| val path="/socialize/user/" |
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
| load: | |
| - path/to/jquery-1.8.3.js | |
| - path/to/jasmine-1.1.0.js | |
| - path/to/JasmineAdapter-1.1.2.js | |
| - path/to/angular.js | |
| - path/to/angular-resource.js | |
| - path/to/angular-mocks.js | |
| - path/to/app,models and controllers | |
| test: | |
| - path/to/testfile.js |
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
| $('img').load(function(evt){ | |
| $('.drag').resizable() | |
| $('.ui-wrapper').draggable(); | |
| }); |
NewerOlder