-
Notifications
You must be signed in to change notification settings - Fork 141
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merged devlop back into master for release of 0.3.0
- Loading branch information
Showing
31 changed files
with
364 additions
and
151 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{ | ||
"ignore_dirs": ["tmp"] | ||
"ignore_dirs": ["tmp", "dist"] | ||
} |
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 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 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,16 @@ | ||
{ | ||
"name": "ember-drag-drop", | ||
"dependencies": { | ||
"ember": "1.12.0", | ||
|
||
"ember-cli-shims": "ember-cli/ember-cli-shims#0.0.3", | ||
"ember-cli-test-loader": "ember-cli-test-loader#0.1.3", | ||
"ember-data": "1.0.0-beta.18", | ||
"ember-load-initializers": "ember-cli/ember-load-initializers#0.1.4", | ||
"ember-qunit": "0.3.3", | ||
"ember-qunit-notifications": "0.0.7", | ||
"ember-resolver": "~0.1.15", | ||
"jquery": "^1.11.1", | ||
"loader.js": "ember-cli/loader.js#3.2.0", | ||
"qunit": "~1.17.1" | ||
"ember": "1.13.11", | ||
"ember-cli-shims": "0.0.6", | ||
"ember-cli-test-loader": "0.2.1", | ||
"ember-data": "1.13.15", | ||
"ember-load-initializers": "0.1.7", | ||
"ember-qunit": "0.4.16", | ||
"ember-qunit-notifications": "0.1.0", | ||
"ember-resolver": "~0.1.20", | ||
"jquery": "^1.11.3", | ||
"loader.js": "ember-cli/loader.js#3.4.0", | ||
"qunit": "~1.20.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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
/*jshint node:true*/ | ||
'use strict'; | ||
|
||
module.exports = function(/* environment, appConfig */) { | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
/*jshint node:true*/ | ||
/* global require, module */ | ||
var EmberAddon = require('ember-cli/lib/broccoli/ember-addon'); | ||
|
||
module.exports = function(defaults) { | ||
var app = new EmberAddon(defaults, { | ||
// Add options here | ||
}); | ||
|
||
/* | ||
This build file specifes the options for the dummy test app of this | ||
addon, located in `/tests/dummy` | ||
This build file does *not* influence how the addon or the app using it | ||
behave. You most likely want to be modifying `./index.js` or app's build file | ||
*/ | ||
|
||
return app.toTree(); | ||
}; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,48 +1,50 @@ | ||
{ | ||
"name": "ember-drag-drop", | ||
"version": "0.2.3", | ||
"version": "0.3.0", | ||
"description": "Addon for Ember CLI to do drag and drop", | ||
"directories": { | ||
"doc": "doc", | ||
"test": "tests" | ||
}, | ||
"scripts": { | ||
"start": "ember server", | ||
"build": "ember build", | ||
"test": "ember test" | ||
"start": "ember server", | ||
"test": "ember try:testall" | ||
}, | ||
"repository": "https://github.com/mharris717/ember-drag-drop", | ||
"repository": "", | ||
"engines": { | ||
"node": ">= 0.10.0" | ||
}, | ||
"author": "", | ||
"license": "MIT", | ||
"devDependencies": { | ||
"broccoli-asset-rev": "^2.0.2", | ||
"ember-cli": "1.13.8", | ||
"ember-cli-app-version": "0.3.3", | ||
"broccoli-asset-rev": "^2.2.0", | ||
"ember-cli": "1.13.13", | ||
"ember-cli-app-version": "^1.0.0", | ||
"ember-cli-content-security-policy": "0.4.0", | ||
"ember-cli-dependency-checker": "^1.0.0", | ||
"ember-cli-github-pages": "0.0.6", | ||
"ember-cli-htmlbars": "0.7.6", | ||
"ember-cli-htmlbars-inline-precompile": "0.3.1", | ||
"ember-cli-ic-ajax": "0.1.1", | ||
"ember-cli-inject-live-reload": "^1.3.0", | ||
"ember-cli-qunit": "0.3.13", | ||
"ember-cli-uglify": "^1.0.1", | ||
"ember-data": "1.0.0-beta.18", | ||
"ember-cli-dependency-checker": "^1.1.0", | ||
"ember-cli-htmlbars": "^1.0.1", | ||
"ember-cli-htmlbars-inline-precompile": "^0.3.1", | ||
"ember-cli-ic-ajax": "0.2.4", | ||
"ember-cli-inject-live-reload": "^1.3.1", | ||
"ember-cli-qunit": "^1.0.4", | ||
"ember-cli-release": "0.2.8", | ||
"ember-cli-sri": "^1.2.0", | ||
"ember-cli-uglify": "^1.2.0", | ||
"ember-data": "2.2", | ||
"ember-disable-proxy-controllers": "^1.0.1", | ||
"ember-export-application-global": "^1.0.4", | ||
"ember-disable-prototype-extensions": "^1.0.0", | ||
"ember-disable-proxy-controllers": "^1.0.0", | ||
"ember-export-application-global": "^1.0.2", | ||
"ember-try": "0.0.6" | ||
"ember-try": "~0.0.8" | ||
}, | ||
"keywords": [ | ||
"ember-addon" | ||
], | ||
"dependencies": { | ||
"ember-cli-babel": "^5.0.0" | ||
"ember-cli-babel": "^5.1.5" | ||
}, | ||
"ember-addon": { | ||
"configPath": "tests/dummy/config" | ||
"configPath": "tests/dummy/config", | ||
"demoURL": "http://mharris717.github.io/ember-drag-drop/" | ||
} | ||
} | ||
} |
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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import Ember from 'ember'; | ||
|
||
export default Ember.Controller.extend({ | ||
|
||
sortFinishText: null, | ||
|
||
actions: { | ||
dragStart: function(object) { | ||
console.log('Drag Start', object); | ||
}, | ||
sortEndAction: function() { | ||
console.log('Sort Ended', this.get('model.pages')); | ||
} | ||
} | ||
}); |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import DS from 'ember-data'; | ||
|
||
var Book = DS.Model.extend({ | ||
title: DS.attr('string'), | ||
pages: DS.hasMany('page', {async: true}) | ||
}); | ||
|
||
export default Book; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import DS from 'ember-data'; | ||
|
||
var Page = DS.Model.extend({ | ||
title: DS.attr('string') | ||
}); | ||
|
||
export default Page; |
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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import Ember from 'ember'; | ||
|
||
export default Ember.Route.extend({ | ||
createdStore: false, | ||
model: function() { | ||
if (!this.get('createdStore')) { | ||
let page1 = this.store.createRecord('page',{id:1, title:'Page Title 1'}); | ||
let page2 = this.store.createRecord('page',{id:2, title:'Page Title 2'}); | ||
let page3 = this.store.createRecord('page',{id:3, title:'Page Title 3'}); | ||
let page4 = this.store.createRecord('page',{id:4, title:'Page Title 4'}); | ||
this.set('createdStore', true); | ||
return this.store.createRecord('book',{id:1, title:'Book Title',pages: [page1, page2, page3, page4]}); | ||
} | ||
} | ||
}); |
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
Oops, something went wrong.