3a31989778
The current state was completely messed up with saving and all the different scenarios. This update brings back my main intent of the code and also does a separate merge of the attributes for the use of the FileObj. It also adds Blob support, and I finally written some tests.
23 lines
990 B
HTML
23 lines
990 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
|
|
<link rel="stylesheet" type="text/css" href="//cdnjs.cloudflare.com/ajax/libs/jasmine/2.0.0/jasmine.css" />
|
|
|
|
|
|
|
|
<script type="text/javascript" src="//code.jquery.com/jquery-2.1.0.min.js"></script>
|
|
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/underscore.js/1.5.2/underscore-min.js"></script>
|
|
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/backbone.js/1.0.0/backbone-min.js"></script>
|
|
|
|
<script type="text/javascript" src="../backbone-model-file-upload.js"></script>
|
|
|
|
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/jasmine/2.0.0/jasmine.js"></script>
|
|
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/jasmine/2.0.0/jasmine-html.js"></script>
|
|
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/jasmine/2.0.0/boot.js"></script>
|
|
|
|
</head>
|
|
<body>
|
|
<script type="text/javascript" src="backbone-model-file-upload.spec.js"></script>
|
|
</body>
|
|
</html> |