Last active
August 29, 2015 14:01
-
-
Save briangonzalez/02d5a746ba8d83b7967e to your computer and use it in GitHub Desktop.
icons
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
| App.Icons = DS.Model.extend({ | |
| contents: DS.attr('string') | |
| }); | |
| App.IconsSerializer = DS.RESTSerializer.extend({ | |
| normalize: function() { | |
| console.log('normalize!'); | |
| } | |
| }); | |
| App.IconsAdapter = DS.RESTAdapter.extend({ | |
| findAll: function(store, type, sinceToken) { | |
| return this.ajax(this.buildURL(type.typeKey), 'GET'); | |
| }, | |
| buildURL: function() { | |
| return '/assets/icons/sprites/svg-defs.svg'; | |
| } | |
| }); |
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
| <svg style="display:none" xmlns="http://www.w3.org/2000/svg"> | |
| <defs> | |
| <g id="dsc-crest"><style type="text/css">.st0{fill:#EB6827;}</style><path class="st0" d="M39.559 21.495s.27-.27.27-.809l-7.01-9.302s-.809-.27-1.078.539l-.135 1.078 1.483 2.022-.135.539h-.27v.404l.539.674s-2.157 1.483-2.831 2.157l-3.101 2.696-2.157 2.157-1.887-2.022-3.101-2.696c-.674-.674-2.831-2.157-2.831-2.157l.539-.674v-.404h-.27l-.135-.539 1.483-1.887-.135-1.078c-.27-.944-1.078-.539-1.078-.539l-7.01 9.302c0 .539.27.809.27.809.674.809 1.213.404 1.213.404l1.618-2.157.404-.135.539.27.135-.135.809-1.078c.674 0 3.505 1.887 3.505 1.887.809.539 1.078 1.213 1.078 1.213.404 1.213 1.213 1.752 1.213 1.752l1.618 1.483-11.187 10.785s-1.348.944-.809 1.887c0 0 .809 1.213 2.696 0l4.314-3.909 7.145-6.74 7.414 7.01 4.314 3.909c1.752 1.348 2.696 0 2.696 0 .674-.809-.809-1.752-.809-1.752l-11.459-11.055 1.752-1.752s1.618-1.078 2.022-2.157c0 0-.539-.27.27-.809 0 0 2.696-1.887 3.505-1.887l.809 1.078.135.135.539-.27.404.135 1.618 2.157c-.134 0 .54.27 1.079-.539zM25 16.372c-.27 0-.674-.135-.809-.404l-.674.809c.404.404.944.539 1.483.539.944 0 1.752-.539 1.752-1.483 0-1.618-2.157-1.078-2.157-1.887 0-.404.404-.404.674-.404s.539.135.674.27l.674-.809c-.404-.404-.944-.539-1.348-.539-.944 0-1.752.539-1.752 1.483 0 1.483 2.157 1.078 2.157 1.887 0 .269-.404.538-.674.538zM36.863 25.539c.404 0 .674.135.809.404l.809-.674c-.404-.539-1.078-.674-1.483-.674-1.483 0-2.426.944-2.426 2.426 0 1.483 1.078 2.426 2.426 2.426.674 0 1.213-.27 1.618-.809l-.809-.674c-.27.27-.539.539-.944.539-.674 0-1.348-.674-1.348-1.483s.539-1.481 1.348-1.481zM16.507 27.022c0-1.618-1.213-2.292-2.696-2.292h-1.483v4.583h1.618c1.348.001 2.561-.808 2.561-2.291zm-2.696 1.348h-.539v-2.696h.539c.809 0 1.618.404 1.618 1.348 0 1.079-.674 1.348-1.618 1.348zM25 49.939c-13.75 0-24.939-11.189-24.939-24.939s11.189-24.939 24.939-24.939 24.939 11.189 24.939 24.939-11.189 24.939-24.939 24.939zm0-46.777c-12.132 0-21.838 9.84-21.838 21.838s9.84 21.838 21.838 21.838 21.838-9.84 21.838-21.838-9.706-21.838-21.838-21.838z"/></g> | |
| <g id="placeholder"><path fill="#666766" d="M0 0h50v50h-50z"/></g> | |
| </defs> | |
| </svg> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment